# IBackoffProvider.Next(int)

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

```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.
