In the last chapter we learned about a powerful tool to increase the reuse and readability of our code. This tool is a combination of observables to create new sources of data. We also learned how we can run multiple asynchronous observables in parallel.
The most important operators we learned in the previous chapter are:
The use of this operators can help us to avoid code repetition, giving us one very important mantra for readable code: Don't Repeat Yourself (DRY).
In this chapter, we will focus on two very important issues, not only for programs implemented using functional reactive programming, but for all programs:
- We will see what happens to an observable when an error occurs and what we can do to treat this error and ensure our code keeps running as expected.
- On the other hand, one of the coolest things about functional reactive programming is the ability to decouple the source of your data from...