StreamComputedExtension<T> extension

on

Properties

prev → T
Returns the value of this stream during the last run of the current computation.
no setter
use → T
Returns the current value of this stream and subscribes to it.
no setter

Methods

prevOr(T or) → T
As prev, but returns or instead of throwing NoValueException.
react(void onData(T), [Function? onError]) → void
Subscribes to this stream in a non-memoized manner.
useOr(T value) → T
As use, but returns value instead of throwing NoValueException.