rate_limiter 1.1.1 copy "rate_limiter: ^1.1.1" to clipboard
rate_limiter: ^1.1.1 copied to clipboard

A pure dart package to apply useful rate limiting strategies on regular functions.

1.1.1 (14-08-2026) #

  • Relaxed the clock constraint to ^1.1.1 so packages that depend on flutter_localizations (which pins clock to 1.1.1) can resolve. 1.1.1 and 1.1.2 are identical apart from doc comments.

1.1.0 (11-08-2026) #

  • Read the current time through package:clock instead of DateTime.now(), so Debounce and Throttle can be tested deterministically with fakeAsync.
  • Fixed Debounce.flush() and Throttle.flush() leaving their timer armed. The orphaned timer rescheduled itself, which made isPending report true again shortly after a flush.
  • Raised the minimum Dart SDK to ^3.4.0, as required by package:clock.

1.0.0 (14-12-2022) #

  • Added BackOff.
  • Added support for passing nullable values in Debounce and Throttle function.

0.1.1 (13-04-2021) #

  • Add example.

0.1.0 (13-04-2021) #

  • Initial release.
97
likes
160
points
63.9k
downloads

Documentation

API reference

Publisher

verified publishergetstream.io

Weekly Downloads

A pure dart package to apply useful rate limiting strategies on regular functions.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

clock

More

Packages that depend on rate_limiter