Experimenting with Observables
You’ve only dipped your toes into the massive toolbox Rx provides. Read on to learn about operators beyond map and takeUntil. map has worked for everything so far, but what happens when we throw an asynchronous wrench in the works or tackle multiple operations inside?
This section covers the of constructor and the take and delay operators. They’re included in the first chapter, because all three are useful for hands-on experimentation with observables. If you’re not quite sure how an operator works, these tools let you get an easily-understood observable stream up and running to test the confusing operator.
of
The of constructor allows for easy creation of an observable out of a known data source. It takes any number ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access