com.raquo.airstream.combine
Members list
Packages
Type members
Classlikes
Attributes
- Companion
- object
- Supertypes
-
trait SyncObservable[A]trait Observable[A]trait Namedtrait Source[A]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
- Self type
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
CombineObservable.type
Value parameters
- combinator
-
Must not throw! Must be pure.
- parents
-
Never update this array - this signal owns it.
Attributes
- Supertypes
-
trait CombineObservable[Out]trait SyncObservable[Out]trait WritableSignal[Out]trait WritableObservable[Out]trait Signal[Out]trait SignalSource[Out]trait Observable[Out]trait Namedtrait Source[Out]class Objecttrait Matchableclass AnyShow all
Value parameters
- combinator
-
Must not throw! Must be pure.
- parentStreams
-
Never update this array - this stream owns it.
Attributes
- Supertypes
-
trait CombineObservable[Out]trait SyncObservable[Out]trait WritableStream[Out]trait WritableObservable[Out]trait EventStream[Out]trait EventSource[Out]trait Observable[Out]trait Namedtrait Source[Out]class Objecttrait Matchableclass AnyShow all
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?).
Value parameters
- parentStreams
-
Never update this array - this stream owns it.
Attributes
- Supertypes
-
trait SyncObservable[A]trait WritableStream[A]trait WritableObservable[A]trait EventStream[A]trait EventSource[A]trait Observable[A]trait Namedtrait Source[A]class Objecttrait Matchableclass AnyShow all
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! Must be pure.
- sampledSignals
-
Never update this array - this signal owns it.
Attributes
- Supertypes
-
trait CombineObservable[Out]trait SyncObservable[Out]trait WritableSignal[Out]trait WritableObservable[Out]trait Signal[Out]trait SignalSource[Out]trait Observable[Out]trait Namedtrait Source[Out]class Objecttrait Matchableclass AnyShow all
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!
- sampledSignals
-
Never update this array - this stream owns it.
Attributes
- Supertypes
-
trait CombineObservable[Out]trait SyncObservable[Out]trait WritableStream[Out]trait WritableObservable[Out]trait EventStream[Out]trait EventSource[Out]trait Observable[Out]trait Namedtrait Source[Out]class Objecttrait Matchableclass AnyShow all