Class WorkflowUpdateHandle<TResult>
- Namespace
- Temporalio.Client
- Assembly
- Temporalio.dll
Workflow update handle to perform actions on an individual workflow update.
public record WorkflowUpdateHandle<TResult> : WorkflowUpdateHandle, IEquatable<WorkflowUpdateHandle>, IEquatable<WorkflowUpdateHandle<TResult>>
Type Parameters
TResult
Update result type.
- Inheritance
-
WorkflowUpdateHandle<TResult>
- Implements
-
IEquatable<WorkflowUpdateHandle<TResult>>
- Inherited Members
Constructors
WorkflowUpdateHandle(ITemporalClient, string, string, string?)
Workflow update handle to perform actions on an individual workflow update.
public WorkflowUpdateHandle(ITemporalClient Client, string Id, string WorkflowId, string? WorkflowRunId = null)
Parameters
Client
ITemporalClientClient used for update handle calls.
Id
stringUpdate ID.
WorkflowId
stringWorkflow ID.
WorkflowRunId
stringRun ID if any.
Methods
GetResultAsync(RpcOptions?)
Wait for an update result.
public Task<TResult> GetResultAsync(RpcOptions? rpcOptions = null)
Parameters
rpcOptions
RpcOptionsExtra RPC options.
Returns
- Task<TResult>
Completed update result.