Skip to content

DurableHttpWaitMode

enum

Namespace: Orleans.Durable.Http

Selects how IDurableHttpClient observes a running operation.
public enum DurableHttpWaitMode

Fields

NameValueDescription
Poll0Polls the operation, with a durable delay before each poll. Each poll records a delay and a step, and no request stays open between polls, which suits operations of any duration.
Events1Reads the server-sent events of the operation's status monitor, at {status monitor}/events, within one step which reconnects until the operation is terminal. The task records one step and learns the outcome as soon as the server reports it, while a request stays open for the operation's duration. An operation without a status monitor is polled.