Skip to content

Instantly share code, notes, and snippets.

@kozakevych
Last active March 30, 2020 09:51
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 kozakevych/2db1c4df3e579059f260f8b3433f48d3 to your computer and use it in GitHub Desktop.
Save kozakevych/2db1c4df3e579059f260f8b3433f48d3 to your computer and use it in GitHub Desktop.
  1. Take a look at these examples and try to guess what will be the execution order https://jsbin.com/kaloxoniwe/edit?js,console

  2. Write examples with different promise methods and check the console to see the difference https://jsbin.com/wejadutuve/edit?js,console

  3. Here we have few methods that need to run one after another. Try to call them using promise and using callback. https://jsbin.com/qukehubamo/edit?js,console

  4. Implement two calls to API using promises to create jokes list https://stackblitz.com/edit/advanced-caching-with-rxjs-step-4-syvcpw

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment