Delay in milliseconds.
Whether the interval starts immediately.
Protected
observedTrue if this emitter has any observers, false otherwise.
Protected
destroyCalled after all observers have been detached.
Protected
emitEmit an event to observers.
The event to emit.
Filter events emitted by this emitter.
The predicate to apply to each event.
An emitter than only emits events emitted by this emitter
for which f
returns true.
Creates an emitter that counts events emitted by this emitter.
An emitter that emits the index, starting at zero, of every event emitted by this emitter.
Protected
initCalled before the first observer is attached.
Create a promise that resolves the next time an event is emitted by this emitter.
A promise that resolves to the next event emitted by this emitter.
Start the interval if not already started. If there aren't currently any observers the interval won't start until observed.
Stop the interval.
Static
fromCreate an emitter from another observable (cell or emitter). The resulting emitter emits an even whenever the input observable emits an event.
The observable to wrap.
An emitter that emits the same events as observable
.
An emitter that repeatedly emits events with a fixed time delay between each event