EventxxDebounce_c<T> class

Inheritance

Constructors

EventxxDebounce_c({required Duration time, required void onListen(T val), bool fastFirstRun = false})
防抖
EventxxDebounce_c.fromMyStream({required Streamxx_c<T> stream, required Duration time, required void onListen(T val), bool fastFirstRun = false})

Properties

fastFirstRun bool
final
hashCode int
The hash code for this object.
no setterinherited
onListen → void Function(T val)
执行
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
time Duration
间隔时间
final
value ↔ T
getter/setter pair

Methods

cancel() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notify(T in_value) → void
override
toString() String
A string representation of this object.
inherited

Operators

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