on Session Cancelled
open fun <P, S, O> onSessionCancelled(cause: <Error class: unknown class>?, droppedActions: List<<Error class: unknown class><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.