JoltStreamValueExtension<T> extension

Extension methods for converting reactive values to streams.

on

Properties

stream Stream<T>

Available on JReadonlyValue<T>, provided by the JoltStreamValueExtension extension

Converts this reactive value to a broadcast stream.
no setter

Methods

listen(void onData(T event)?, {Function? onError, void onDone()?, bool? cancelOnError, bool immediately = false}) StreamSubscription<T>

Available on JReadonlyValue<T>, provided by the JoltStreamValueExtension extension

Creates a stream subscription that listens to changes in this reactive value.