Skip to content

Instantly share code, notes, and snippets.

@kironroy
Created August 18, 2023 19:54
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 kironroy/6ee1faf6acca703d516402971cc310b2 to your computer and use it in GitHub Desktop.
Save kironroy/6ee1faf6acca703d516402971cc310b2 to your computer and use it in GitHub Desktop.
Promises
Promise: An object that is used as a placeholder for the future result of an asynchronous operation.
⬇️
Promise: A container for asynchrounusly delivered value.
⬇️
Promise: A container for a future value.
👉 no call backs
👉 no unpredicatable results
👉 we can chain promises for a sequence of asynchrounous operations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment