onRateLimitExceeded property
Called for each rejected attempt, after the limiter transaction ends.
Receives the caller's key unchanged. May throw a provider-specific exception or clean up a request independently of the caller transaction.
Implementation
final Future<void> Function(Session session, String key)? onRateLimitExceeded;