The operator onErrorResumeNext() runs a list of observables from left to right, passing to the next observable either when the current observable finishes, or when an error occurs. This method is available in the Observable class and has the following signature:
As you can see it receives an arbitrary number of arguments:
- observables: It is an arbitrary number of observables to be executed from left to right; the next observable starts when the current finishes or fails.
We can use some of the examples from the previous section, changing only the operator to illustrate how the onErrorResumeNext() operator works:
Rx.Observable.onErrorResumeNext( Rx.Observable.throw(new ...