Throttle30Hz class final

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

Inheritance

Constructors

Throttle30Hz.new()

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

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