StreamComputedExtension<T> extension
- on
-
- Stream<
T>
- Stream<
Properties
- prev → T
-
Available on Stream<
Returns the value of this stream during the last run of the current computation.T> , provided by the StreamComputedExtension extensionno setter - use → T
-
Available on Stream<
Returns the current value of this stream and subscribes to it.T> , provided by the StreamComputedExtension extensionno setter
Methods
-
prevOr(
T or) → T -
Available on Stream<
As prev, but returnsT> , provided by the StreamComputedExtension extensionorinstead of throwing NoValueException. -
react(
void onData(T), [Function? onError]) → void -
Available on Stream<
If this stream has produced a value or error since the last time the current computation notified its downstream, runs the given functional on the value or error produced by this stream.T> , provided by the StreamComputedExtension extension -
useOr(
T value) → T -
Available on Stream<
As use, but returnsT> , provided by the StreamComputedExtension extensionvalueinstead of throwing NoValueException.