<PackageReference Include="Polly" Version="8.6.2" />

Polly.RateLimit.IRateLimiter

interface IRateLimiter
Defines methods to be provided by a rate-limiter used in a Polly IRateLimitPolicy.

Returns whether the execution is permitted; if not, returns what TimeSpan should be waited before retrying. Calling this method consumes an execution permit if one is available: a caller receiving a return value true should make an execution.