onSnapshotState

open override fun <S> onSnapshotState(state: S, proceed: (S) -> Snapshot?, session: WorkflowInterceptor.WorkflowSession): Snapshot?(source)

Intercepts calls to StatefulWorkflow.snapshotState.