throttled 1.0.0 copy "throttled: ^1.0.0" to clipboard
throttled: ^1.0.0 copied to clipboard

Throttle function calls on a cooldown while ensuring the last call eventually runs with leaky calls.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add throttled

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  throttled: ^1.0.0

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:throttled/throttled.dart';
0
likes
140
points
319
downloads

Publisher

verified publisherarcane.art

Weekly Downloads

Throttle function calls on a cooldown while ensuring the last call eventually runs with leaky calls.

Repository (GitHub)
View/report issues

Documentation

API reference

License

GPL-3.0 (license)

Dependencies

flutter

More

Packages that depend on throttled