Skip to content

ISchedulableTask

interface

Namespace: Orleans.Durable.Tasks

Defines a durable task which a host can start as a root task, outside a durable execution.
public interface ISchedulableTask

Methods

  • GetHandle(TaskId)Gets a handle for a scheduled identifier.
  • Post(TaskId) Stages the start of this definition under taskId in the calling code's durable outbox, and returns a handle for the task.
  • ScheduleAsync(TaskId, CancellationToken) Schedules or reattaches to this definition under taskId, and completes once the task's host has accepted and durably stored the task.