From 6941b4634d8da2bbeb40835320acc06fec4bfb39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Feje=C5=A1?= Date: Tue, 17 Jul 2018 10:50:41 +0200 Subject: [PATCH] add glossary/Promise --- glossary/Promise.md | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 glossary/Promise.md diff --git a/glossary/Promise.md b/glossary/Promise.md new file mode 100644 index 000000000..7ade5ccf7 --- /dev/null +++ b/glossary/Promise.md @@ -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).