AbstractPause the instance.
Restart the instance. Optionally restart from a specific step, preserving cached results for all steps before it.
Optionaloptions: WorkflowInstanceRestartOptions
Options for the restart, including an optional step to restart from.
Resume the instance. If it is already running, an error will be thrown.
Send an event to this instance.
Returns the current status of the instance.
Subscribe to events emitted by this instance.
Optionaloptions: WorkflowInstanceSubscribeOptionsTerminate the instance. If it is errored, terminated or complete, an error will be thrown.
Optionaloptions: WorkflowInstanceTerminateOptions
Options for termination, including whether registered rollback handlers should run.
Delete the instance and its stored state.