workflow

inline suspend fun <SVC : Any> workflow(key: String): SVC

Create a proxy client for a Restate workflow.

Return

a proxy client to invoke the workflow

Parameters

key

the key identifying the specific workflow instance

Type Parameters

SVC

the workflow class annotated with @Workflow