# DurableHttpWaitMode

Package: [Microsoft.Orleans.Durable.Http](/orleans/docs/api/csharp/microsoft.orleans.durable.http/) 10.0.0-alpha.1

```csharp
public enum DurableHttpWaitMode
```

Selects how [IDurableHttpClient](/orleans/docs/api/csharp/microsoft.orleans.durable.http/orleans.durable.http.idurablehttpclient/) observes a running operation.

## Fields

- `Poll` = `0` - Polls 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.
- `Events` = `1` - Reads 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.
