SHARE
TWEET

Untitled

a guest Jul 16th, 2019 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import {_throw} from "rxjs/observable/throw";
  2.  
  3.         _throw(new Error)
  4.             .subscribe(() => {
  5.                 console.log("this won't be called");
  6.             }, (err) => {
  7.                 console.log("this will be called first");
  8.             }, () => {
  9.                 console.log("this won't be called");
  10.             });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top