Noop Workflow Interceptor
A WorkflowInterceptor that does not intercept anything.
Functions
on Initial State
Link copied to clipboard
open fun <P, S> onInitialState(props: P, snapshot: Snapshot?, proceed: (P, Snapshot?) -> S, session: WorkflowInterceptor.WorkflowSession): S
Content copied to clipboard
Intercepts calls to StatefulWorkflow.initialState.
on Props Changed
Link copied to clipboard
on Render
Link copied to clipboard
on Session Started
Link copied to clipboard
open fun onSessionStarted(workflowScope: CoroutineScope, session: WorkflowInterceptor.WorkflowSession)
Content copied to clipboard
Called when the session is starting, before onInitialState.
on Snapshot State
Link copied to clipboard
open fun <S> onSnapshotState(state: S, proceed: (S) -> Snapshot?, session: WorkflowInterceptor.WorkflowSession): Snapshot?
Content copied to clipboard
Intercepts calls to StatefulWorkflow.snapshotState.