Documentation
Table of Contents

Interface IRateLimiter

Namespace
IntentSharp.Resilience
Assembly
IntentSharp.dll

Local request throttle applied before each provider call.

public interface IRateLimiter
Extension Methods

Methods

AcquireAsync(string, TimeSpan, CancellationToken)

Waits until a request to the provider is permitted, or throws AIRateLimitException when the wait would exceed maxWait.

GetSnapshot(string)

Returns the limiter's current state for the provider.