does not correspond to the marble diagram (p.99, Figure 4.8) of 4.3.1 Propagation. Due to the use of the of static operator there is only a single event containing an array of five elements - not five events as depicted in the marble diagram. For that the from static operator has to be used:
Yup. You're absolutely right. That should have been Observable.from(...). @paulpdaniels Let's add this to the errata page.
Thanks @peerreynders for the catch!
https://github.com/RxJSInAction/rxjs-in-action/blob/master/examples/4/7/4_7.js
does not correspond to the marble diagram (p.99, Figure 4.8) of 4.3.1 Propagation. Due to the use of the
of
static operator there is only a single event containing an array of five elements - not five events as depicted in the marble diagram. For that thefrom
static operator has to be used: