workflow
Create a proxy client for a Restate workflow.
Example usage:
val wf = client.workflow<MyWorkflow>("wf-123")
val result = wf.run("input")Content copied to clipboard
Return
a proxy client to invoke the workflow
Parameters
SVC
the workflow class annotated with @Workflow
key
the key identifying the specific workflow instance