rate_limiter 1.1.1
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
clockconstraint to^1.1.1so packages that depend onflutter_localizations(which pinsclockto 1.1.1) can resolve.1.1.1and1.1.2are identical apart from doc comments.
1.1.0 (11-08-2026) #
- Read the current time through
package:clockinstead ofDateTime.now(), soDebounceandThrottlecan be tested deterministically withfakeAsync. - Fixed
Debounce.flush()andThrottle.flush()leaving their timer armed. The orphaned timer rescheduled itself, which madeisPendingreporttrueagain shortly after a flush. - Raised the minimum Dart SDK to
^3.4.0, as required bypackage: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.