ThrottledCallback class

Callable wrapper that exposes throttling controls.

Constructors

ThrottledCallback(Throttler _throttler, void _action())
Creates a callable wrapper around a Throttler and action.

Properties

hashCode int
The hash code for this object.
no setterinherited
isDisposed bool
Returns true if the throttler is disposed.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

call() → void
Invokes the throttled action.
cancel() → void
Cancels any pending action and resets the throttle window.
dispose() → void
Disposes the throttler.
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