Struct FixedWindowPermit
The result of an attempt to acquire a permit from a fixed window count in the short-lived store, returned by AcquirePermitAsync(IShortLivedStore, string, string, int, TimeSpan, TimeProvider, CancellationToken).
Namespace: Singulink.Net.Http.Api.Service
Assembly: Singulink.Net.Http.Api.Service.dll
Syntax
public readonly struct FixedWindowPermit
Properties
| Name | Description |
|---|---|
| IsAcquired | Gets a value indicating whether a permit was acquired. |
| RetryAfter | Gets the time until the window ends and permits can be acquired again if no permit was acquired, otherwise null. |