throttle method

  1. @override
void throttle(
  1. void onExecute(), {
  2. Duration duration = Throttler.defaultDuration,
  3. required String tag,
})
override

Implementation

@override
void throttle(
  void Function() onExecute, {
  Duration duration = Throttler.defaultDuration,
  required String tag,
}) {
  EasyThrottle.throttle(
    tag,
    duration,
    onExecute,
  );
}