workflow
PREVIEW: Create a proxy client for a Restate workflow within the given scope.
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
See also
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
key
the key identifying the specific workflow instance
Type Parameters
SVC
the workflow class annotated with @Workflow