# IBackoffProvider Methods

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.internal.ibackoffprovider/)

## Next(int) {#next-int-c993029b}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.internal.ibackoffprovider/methods/next-int-c993029b/)

```csharp
public abstract TimeSpan Next(int attempt)
```

Returns the amount of time to wait before attempting a subsequent operation.

### Parameters

- `attempt` (`int`): The number of operation attempts which have been made.

### Returns

The amount of time to wait before attempting a subsequent operation.
