Creation Operators
Use this page to find the creation operator implemented by the Observable
type that fits your needs:
Static methods | |||||
I want to create a new sequence | using custom logic | ||||
that works like a for-loop | |||||
and emits the values over time | |||||
that returns a value | |||||
multiple times | |||||
that throws an error | |||||
that completes | |||||
that never does anything | |||||
from an event | |||||
that uses custom functions to add and remove event handlers | |||||
from an ES6 Promise | |||||
that iterates | over the values in an array | ||||
of object key/values | |||||
of asynchronous elements | |||||
over values in a numeric range | |||||
over the values in an iterable, array or array-like object | |||||
over arguments | |||||
that emits values on a timer | |||||
with an optional initial delay | |||||
that calls a function with no arguments | on a specific scheduler | ||||
asynchronously | |||||
decided at subscribe-time | based on a boolean condition | ||||
from a pre-set set of sequences | |||||
using custom logic | |||||
that depends on a resource | |||||
I want to wrap a function | and yield the result in a sequence | which accepts a callback | |||
which accepts a Node.js callback | |||||
I want to combine multiple sequences | and only receive values from the sequence that yields a value first | ||||
and be notified when all of them have finished | |||||
and output the values from all of them | |||||
in order | reusing the latest value when unchanged | ||||
using each value only once | |||||
by subscribing to each in order | when the previous sequence completes | ||||
when the previous sequence errors | |||||
regardless of whether the previous sequence completes or errors | |||||
by responding to different combinations of values (join calculus) |
See Also ##
Reference
Concepts
Last updated