Method GetInstanceAsync
GetInstanceAsync(WorkflowInstanceId, CancellationToken)
Reads one instance, or null if it does not exist.
ValueTask<WorkflowInstanceRecord?> GetInstanceAsync(WorkflowInstanceId id, CancellationToken ct)
Parameters
Returns
Remarks
The read half of the optimistic-concurrency loop: callers take the record, merge into it, and hand its Revision back to UpdateInstanceAsync(WorkflowInstanceRecord, long, CancellationToken), which is what detects that someone else got there first.