BufferedTimeBeacon<T> class
Methods
-
add(T newValue)
→ void
-
-
addToBuffer(T newValue)
→ void
-
inherited
-
clearBuffer()
→ void
-
inherited
-
dispose()
→ void
-
Clears all registered listeners and
reset the beacon to its initial state.
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
peek()
→ List<T>
-
inherited
-
reset()
→ void
-
Set the beacon to its initial value
and notify all listeners
-
subscribe(void callback(List<T>), {bool startNow = false})
→ VoidCallback
-
Subscribes to changes in the beacon
returns a function that can be called to unsubscribe
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
wrap<U>(ReadableBeacon<U> target, {dynamic then(BufferedBaseBeacon<T> p1, U p2)?, bool startNow = true})
→ BufferedBaseBeacon<T>
-
Wraps a
ReadableBeacon and comsumes its values
inherited