AsyncDebouncer class
Debouncer that returns a Future for async operations
Constructors
- AsyncDebouncer({required Duration duration})
Properties
Methods
-
call(
Future< void> callback()) → Future<void> - Execute an async function with debouncing Returns a future that completes when the debounced function executes
-
cancel(
) → void - Cancel any pending debounced call
-
dispose(
) → void - Dispose the debouncer and clean up resources
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited