workflow

@ApiStatus.Experimental
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

SVC

the workflow class annotated with @Workflow

key

the key identifying the specific workflow instance