just_throttle_it 3.0.1
just_throttle_it: ^3.0.1 copied to clipboard
A simple throttle library for limiting consecutive execution of functions
Changelog #
3.0.0 #
- BREAKING CHANGES: Parameters passed into throttle function are passed by name now. (Previously these parameters were passed by position.)
- Adding
leading
andtrailing
flags to throttle functions.- The
leading
option defaults totrue
for the default behavior. Toggling it tofalse
will skip the first function output. - The
trailing
option defaults tofalse
. Toggling it totrue
will enforce that the last call to the function is always executed.
- The
2.1.0 #
- Add support for throttling streams with ThrottleStreamTransformer
2.0.0 #
- Migrate to null-safety
1.0.0 #
- Initial version of a throttle library.