RunCancellableEventsEventSchema
Runs this event's own events list inside a cancellable job registered in the client's CancellableEventsHolder under cancellableEventId. A later CancelEvents carrying the same id stops the job mid-flight.
Unlike most events, events here is the payload to execute: the whole list is run inline, in order, receiving this event's incomingData. The job is launched in its own coroutine scope, so this event returns as soon as the job is registered rather than waiting for the events to finish.
incomingData consumed: forwarded to the events being run.
Triggers fired:
OnSuccessEventTrigger— as soon as the job was registered, not when the events finish. No data is passed downstream.OnFailureEventTrigger— wheneventsisnull, so there is nothing to run.
Constructors
Properties
This event's own children — each declaring, via its own trigger, which of this event's outgoing triggers runs it. null when this event declares no children.
The condition that must occur for this event to run — matched by structural equality (data class/data object equality) against whatever trigger value fired, never by any kind of subscription or listener registry.