Open mocheng opened 7 years ago
In this page, http://xgrommx.github.io/rx-book/content/getting_started_with_rxjs/creating_and_querying_observable_sequences/bridging_to_promises.html
The code snippet doesn't work
var source2 = Rx.Observable.throwError(new Error('reason')).toPromise(RSVP.Promise);
I suppose the throwError should be throw.
throwError
throw
+1
In this page, http://xgrommx.github.io/rx-book/content/getting_started_with_rxjs/creating_and_querying_observable_sequences/bridging_to_promises.html
The code snippet doesn't work
I suppose the
throwError
should bethrow
.