workflowKey

@ApiStatus.Experimental
suspend fun workflowKey(): String

Get the key of this Workflow.

Return

the key of this workflow

Throws

if called from a regular Service handler, or from a virtual object handler, or outside of a Restate handler