CloudEventsServiceInvokeOnEnvironmentCreated Method
Saves the new environment to disc and then invokes the Event Grid Topic that the Action Handler can start its process.
Namespace: MobileTrack.Web.Components.ServicesAssembly: MobileTrack.Web.Components (in MobileTrack.Web.Components.dll) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
public Task<Guid> InvokeOnEnvironmentCreated(
EnvironmentDto environment,
UserSessionData createdBy
)
- environment EnvironmentDto
- Newly created environment
- createdBy UserSessionData
- The user that created the new environment.
TaskGuidThe identifier for the event grid action that the user in the front-end can follow up on.
There is no cancellation token because the deletion task should not be interrupted if the player leaves the page!