Workflow handle with additional metadata, generic on the workflow function type T.
When T is known (e.g. inside IWorkflowProxy<T>), result() returns
Promise<WorkflowResultType<T>> and signal/query methods are fully typed.
Defaults to the base Workflow type for untyped call sites (e.g. TemporalClientService).
Workflow handle with additional metadata, generic on the workflow function type
T.When
Tis known (e.g. insideIWorkflowProxy<T>),result()returnsPromise<WorkflowResultType<T>>and signal/query methods are fully typed. Defaults to the baseWorkflowtype for untyped call sites (e.g.TemporalClientService).