JoltReadonlyExtension<T> extension
Extension methods for readonly reactive values.
- on
-
- ReadonlyNode<
T>
- ReadonlyNode<
Properties
-
stream
→ Stream<
T> -
Available on ReadonlyNode<
Converts this reactive value to a broadcast stream.T> , provided by the JoltReadonlyExtension extensionno setter
Methods
-
listen(
void onData(T event)?, {Function? onError, void onDone()?, bool? cancelOnError, bool immediately = false}) → StreamSubscription< T> -
Available on ReadonlyNode<
Creates a stream subscription that listens to changes in this reactive value.T> , provided by the JoltReadonlyExtension extension -
until(
bool predicate(T value)) → Future< T> -
Available on ReadonlyNode<
Waits until the reactive value satisfies a predicate condition.T> , provided by the JoltReadonlyExtension extension