on Session Cancelled
open fun <P, S, O> onSessionCancelled(cause: CancellationException?, droppedActions: List<WorkflowAction<P, S, O>>, session: WorkflowInterceptor.WorkflowSession)(source)
Called when the session is ending, when the Workflow's CoroutineScope is being cancelled.
Parameters
cause
The cause of the cancellation if non-null.
dropped Actions
Any actions that were queued in this node's channel at the time of cancellation.