JoltReadonlyExtension<T> extension

Extension methods for readonly reactive values.

on

Properties

stream Stream<T>

Available on ReadonlyNode<T>, provided by the JoltReadonlyExtension 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 ReadonlyNode<T>, provided by the JoltReadonlyExtension extension

Creates a stream subscription that listens to changes in this reactive value.
until(bool predicate(T value)) Future<T>

Available on ReadonlyNode<T>, provided by the JoltReadonlyExtension extension

Waits until the reactive value satisfies a predicate condition.