Static
createCreates a new instance of the Cold object.
Creates a cold observable.
The emitter function which is called when a subscriber is added.
It should return a function that is called when the subscription is unsubscribed,
or return undefined
if no cleanup is needed.
Static
fromCreates an observer that emits a flattened and filtered array of data.
The data to observe.
Static
fromCreates a delayed observer that emits a void value after a specified delay.
The delay in milliseconds before emitting the value.
Static
fromCreates an observer that emits events from a specified event on the document.
The event to listen for.
Static
fromCreates an observer that emits a value after a specified delay.
The delay in milliseconds.
Static
fromStatic
createCreates a cold observable.
The emitter function which is called when a subscriber is added.
It should return a function that is called when the subscription is unsubscribed,
or return undefined
if no cleanup is needed.
Static
createCreates a hot observable that emits data as it is received from the given emitter.
The function that receives a callback to emit data. It should return a cleanup function or undefined
.
The observer that allows subscribing to and unsubscribing from the emitted data.
Static
fromStatic
fromStatic
fromStatic
joinCreates a join observer that combines the values emitted by multiple Observers into a single Observable.
The type of the value emitted by the first Observer.
The type of the value emitted by the second Observer.
The type of the value emitted by the third Observer.
The type of the value emitted by the fourth Observer.
The type of the value emitted by the fifth Observer.
The type of the value emitted by the sixth Observer.
The type of the value emitted by the seventh Observer.
The type of the value emitted by the eighth Observer.
The type of the value emitted by the ninth Observer.
The type of the value emitted by the tenth Observer.
An array of Observers to join.
Optional parameters for the join operation, including a buffer and a race flag.
Optional
buffer?: [A, B?, C?, D?, E?, F?, G?, H?, I?, J?]An array to store the latest emitted values from each Observer. Defaults to an empty array.
Optional
race?: booleanA boolean flag indicating whether to emit the combined values immediately or wait for all Observers to emit a value. Defaults to false.
An Observer that emits an array of values, each value being the latest emitted value from the corresponding Observer.
Static
mergeMerges multiple observers into a single observer.
The type of observer A.
The type of observer B.
The type of observer C.
The type of observer D.
The type of observer E.
The type of observer F.
The type of observer G.
The type of observer H.
The type of observer I.
The type of observer J.
Static
multicastStatic
pipeCreates a pipe that connects an observer to a subject and emits output values based on a given emitter function.
The observer that is connected to the subject and emits output values.
Static
unicast
The Source class provides utility functions for creating and manipulating Observers.