ScheduledTask<TResult>
class
Namespace: Orleans.Durable.Tasks
Represents a host-scheduled durable task with a result.
public abstract class ScheduledTask<TResult> : ScheduledTaskConstructors
Methods
GetAwaiterGets an awaiter which returns the successful result.GetResultReturns the result which this handle observed, or throws the recorded failure or cancellation, as awaiting the task does.TryGetResult(TResult)Gets the result, when this handle has observed that the task completed successfully.WaitAsync(CancellationToken)Configures a typed wait with a wait-cancellation token.WaitAsync(TimeSpan, CancellationToken)Waits for and returns the successful result, and requests durable cancellation of the task oncetimeoutelapses.WaitUntilAsync(DateTimeOffset, CancellationToken)Waits for and returns the successful result, and requests durable cancellation of the task oncedueTimepasses.
