onRateLimitExceeded property

Future<void> Function(Session session, String key)? onRateLimitExceeded
final

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;