Skip to main content

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

Controls the call frequency of a callback and exposes a stream that emits the controller state.

1.0.0 #

  • Required Dart SDK ^3.13.0.
  • Using primary constructor syntax.
  • Changed the signature of the methods run and runAsync provided by the class CallbackController, eliminating FutureOr. The methods now return void and Future<void>, respectively. The methods expect a callback of type void Function() and Future<void> Function(),respectively.

0.0.3 #

Amended docs.

0.0.2 #

Fixed a bug in CallbackLimiter, by introducing a Timer that sets the state ready.

0.0.1 #

Initial version.

0
likes
160
points
510
downloads

Documentation

API reference

Publisher

verified publishersimphotonics.com

Weekly Downloads

Controls the call frequency of a callback and exposes a stream that emits the controller state.

Repository (GitHub)
View/report issues

Topics

#callback #debounce #throttle #stream #controller

License

BSD-3-Clause (license)

More

Packages that depend on callback_controller