Skip to content

Instantly share code, notes, and snippets.

@jgornick
Created March 14, 2017 19:06
Show Gist options
  • Save jgornick/dd6dce654bfe996f6f26deefe794efde to your computer and use it in GitHub Desktop.
Save jgornick/dd6dce654bfe996f6f26deefe794efde to your computer and use it in GitHub Desktop.
Delay thrown observable
return Observable
.throw(new Error('This is an error message.'))
.materialize()
.delay(2000)
.dematerialize();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment