Skip to content

Instantly share code, notes, and snippets.

@imkrish
Created January 27, 2019 09:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save imkrish/4c700f4e376410ac685dcb6425311e59 to your computer and use it in GitHub Desktop.
Save imkrish/4c700f4e376410ac685dcb6425311e59 to your computer and use it in GitHub Desktop.
const observable = of('response')
observable.subscribe(result => {
// Do the logic with the result emited by the observable
// .................
// .................
// .................
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment