ReadableBeaconWrapUtils<T> extension

on

Methods

buffer(int count, {String? name, bool synchronous = true}) BufferedCountBeacon<T>

Available on ReadableBeacon<T>, provided by the ReadableBeaconWrapUtils extension

Returns a BufferedCountBeacon that wraps this Beacon.
bufferTime(Duration duration, {String? name, bool synchronous = true}) BufferedTimeBeacon<T>

Available on ReadableBeacon<T>, provided by the ReadableBeaconWrapUtils extension

Returns a BufferedTimeBeacon that wraps this Beacon.
debounce(Duration duration, {String? name, bool synchronous = true}) DebouncedBeacon<T>

Available on ReadableBeacon<T>, provided by the ReadableBeaconWrapUtils extension

Returns a DebouncedBeacon that wraps this Beacon.
filter(bool filter(T?, T), {String? name, bool lazyBypass = true, bool synchronous = true}) FilteredBeacon<T>

Available on ReadableBeacon<T>, provided by the ReadableBeaconWrapUtils extension

Returns a FilteredBeacon that wraps this Beacon.
map<O>(MapFilter<T, O> mapFN, {String? name, bool synchronous = true}) ReadableBeacon<O>

Available on ReadableBeacon<T>, provided by the ReadableBeaconWrapUtils extension

Returns a ReadableBeacon that wraps a Beacon and tranforms its values.
throttle(Duration duration, {bool dropBlocked = true, bool synchronous = true, String? name}) ThrottledBeacon<T>

Available on ReadableBeacon<T>, provided by the ReadableBeaconWrapUtils extension

Returns a ThrottledBeacon that wraps this Beacon.