Property GetReconnectionDelay
- Namespace
- DSharpPlus.Net.Gateway
- Assembly
- DSharpPlus.dll
GetReconnectionDelay
Specifies a function to get the reconnection delay on a given consecutive attempt to reconnect.
public Func<uint, TimeSpan> GetReconnectionDelay { get; set; }
Property Value
Remarks
Defaults to doubling the time spent waiting until 2^10 seconds, or 17:04 minutes are reached, at which point the value becomes constant.