Files
30-seconds-of-code/glossary/Promise.md
2019-08-13 11:19:29 +03:00

8 lines
330 B
Markdown

---
title: Promise
tags: Promise
---
The Promise object represents the eventual completion (or failure) of an asynchronous operation, and its resulting value.
A Promise can be in one of these states: pending(initial state, neither fulfilled nor rejected), fulfilled(operation completed successfully), rejected(operation failed).