cancelRateLimit method
- String tag
Cancels any active rate limiter with the given tag
.
Implementation
void cancelRateLimit(String tag) {
_rateLimitOperations[tag]?.timer.cancel();
_rateLimitOperations.remove(tag);
}
Cancels any active rate limiter with the given tag
.
void cancelRateLimit(String tag) {
_rateLimitOperations[tag]?.timer.cancel();
_rateLimitOperations.remove(tag);
}