Skip to content

throwError should be throw #68

Open
@mocheng

Description

@mocheng

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions