cancel static method
Cancels any active throttle with the given tag
.
Implementation
static void cancel(String tag) {
_operations[tag]?.$1.timer.cancel();
_operations[tag]?.$2.tryComplete();
_operations.remove(tag);
}
Cancels any active throttle with the given tag
.
static void cancel(String tag) {
_operations[tag]?.$1.timer.cancel();
_operations[tag]?.$2.tryComplete();
_operations.remove(tag);
}