The payload carried by the event, or undefined
if there's no payload.
The executor for which the lifecycle event has occurred.
The type of the event.
See ExecutorEvent for more details.
The version of the executor for which this event was published.
The event published by the Executor.
Lifecycle events:
If executor is still pending when abort event is published then the currently pending task is being replaced with a new task.
Calling Executor.execute when handling an abort event may lead to stack overflow. If you need to do this anyway, execute a new task from async context using
queueMicrotask
or similar API.