Skip to content

DurableTaskReferenceAwaiter<TResult>

struct

Namespace: Orleans.Durable.Tasks

Awaits a Orleans.Durable.Tasks.DurableTaskReference: as a subscribed child in a durable execution, and otherwise by waiting for the task's result.
public readonly struct DurableTaskReferenceAwaiter<TResult> : ICriticalNotifyCompletion, INotifyCompletion

Properties

Methods

  • GetResultReturns the task's successful result, or throws its failure or cancellation.
  • OnCompleted(Action)Schedules the continuation action that's invoked when the instance completes.
  • UnsafeOnCompleted(Action)Schedules the continuation action that's invoked when the instance completes.