Skip to content

ConfiguredDurableTask<TResult>

struct

Namespace: Orleans.Durable.Tasks

Configures and starts a durable task with a result.
public readonly struct ConfiguredDurableTask<TResult>

Methods

  • DetachedReturns a configuration which starts the task as an independent root task.
  • Detached(string)Returns a configuration which starts the task as the independent root task rootId.
  • GetAwaiterGets an awaiter which runs or attaches to the task and returns its result once the result is durable.
  • Post Stages the start of the task in the caller's durable outbox, and returns its handle without waiting.
  • ScheduleAsync(CancellationToken) Starts the task and returns its handle once the task's host has accepted and durably stored the task.
  • Shielded Returns a configuration which starts the task as an attached child, or runs it as part of the execution, out of reach of the starting execution's durable cancellation.
  • WithId(string)Returns a configuration which names the task.