ReadableBeaconWrapUtils<T> extension

on

Methods

buffer(int count, {String? name}) → ReadableBufferedBeacon<T>

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

Returns a BufferedCountBeacon that wraps this Beacon.
bufferTime(Duration duration, {String? name}) → ReadableBufferedBeacon<T>

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

Returns a BufferedTimeBeacon that wraps this Beacon.
debounce(Duration duration, {bool allowFirst = false, String? name}) ReadableBeacon<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 allowFirst = false}) → ReadableFilteredBeacon<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}) 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, String? name}) → ReableThrottledBeacon<T>

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

Returns a ThrottledBeacon that wraps this Beacon.