workflowHandle

abstract fun <Res> workflowHandle(workflowName: String, workflowId: String, resTypeTag: TypeTag<Res>): Client.WorkflowHandle<Res>

Create a new WorkflowHandle for the provided workflow name and identifier.

Return

the workflow handle

Parameters

workflowName

the workflow name

workflowId

the workflow identifier

resTypeTag

type tag used to deserialize the invocation result


open fun <Res> workflowHandle(workflowName: String, workflowId: String, clazz: Class<Res>): Client.WorkflowHandle<Res>

Create a new WorkflowHandle for the provided workflow name and identifier.

Return

the workflow handle

Parameters

workflowName

the workflow name

workflowId

the workflow identifier

clazz

used to deserialize the workflow result