state

suspend fun state(): KotlinState

Access to this Virtual Object/Workflow state.

Return

KotlinState for this Virtual Object/Workflow

Throws

if called from a regular Service handler or outside of a Restate handler