Język

TaskRun<TOutput>.Completion Property

Definition

A task that completes with the run's typed result. Await it to observe the result; use Completion.WaitAsync(cancellationToken) to cancel only your wait. If the run is deferred for recovery, this task remains pending — the durable run resumes elsewhere.

public virtual System.Threading.Tasks.Task<TOutput> Completion { get; }
member this.Completion : System.Threading.Tasks.Task<'Output>
Public Overridable ReadOnly Property Completion As Task(Of TOutput)

Property Value

Task<TOutput>

Applies to