com.raquo.airstream.combine
Type members
Classlikes
- Value parameters:
- combinator
Must not throw!
- Value parameters:
- combinator
Must not throw!
Stream that emit events from all of its parents.
Stream that emit events from all of its parents.
Note: this stream re-emits errors emitted by all of its parents
This feature exists only for EventStream-s because merging Signals does not make sense, conceptually (what do you even do with their current values?).
This stream emits the combined value when samplingStreams emits.
This stream emits the combined value when samplingStreams emits.
When the combined stream emits, it looks up the current value of sampledSignals, but updates to those signals do not trigger updates to the combined stream.
Works similar to Rx's "withLatestFrom", except without glitches (see a diamond case test for this in GlitchSpec).
- Value parameters:
- combinator
Note: Must not throw!
This signal emits the combined value when samplingSignal is updated.
This signal emits the combined value when samplingSignal is updated.
When the combined signal emits, it looks up the current value of sampledSignals, but updates to those signals do not trigger updates to the combined stream.
Works similar to Rx's "withLatestFrom", except without glitches (see a diamond case test for this in GlitchSpec).
- Value parameters:
- combinator
Note: Must not throw.