Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import {_throw} from "rxjs/observable/throw";
- _throw(new Error)
- .subscribe(() => {
- console.log("this won't be called");
- }, (err) => {
- console.log("this will be called first");
- }, () => {
- console.log("this won't be called");
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement