Throttle30Hz class final

A throttle that limits execution to approximately 30 times per second.

Inheritance

Constructors

Throttle30Hz()

Properties

duration → Duration
The cool-down period after an action is executed.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
isThrottled → bool
Returns true if the throttle is currently in its cool-down period.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

cancel() → void
Cancels any pending cool-down and resets the throttle so the next call to run will execute immediately.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
run(void action()) → void
Executes the action if the throttle is not currently active.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited