Skip to content

IDurableTaskCompletionSource<T>

interface

Namespace: Orleans.Journaling

Represents a task completion source whose terminal state is recorded in a journal.
public interface IDurableTaskCompletionSource<T>

Properties

  • State Gets the current durable completion state.
  • Task Gets the task which completes after the terminal state has been persisted.

Methods

  • TrySetCanceled Attempts to transition the durable state to canceled.
  • TrySetException(Exception) Attempts to transition the durable state to faulted with the specified exception.
  • TrySetResult(T) Attempts to transition the durable state to completed with the specified result.