add glossary/Promise

This commit is contained in:
Stefan Feješ
2018-07-17 10:50:41 +02:00
parent f796611563
commit 6941b4634d

4
glossary/Promise.md Normal file
View File

@ -0,0 +1,4 @@
### 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).