From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/ja/glossary/promise/index.html | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 files/ja/glossary/promise/index.html (limited to 'files/ja/glossary/promise/index.html') diff --git a/files/ja/glossary/promise/index.html b/files/ja/glossary/promise/index.html new file mode 100644 index 0000000000..b4f134f79e --- /dev/null +++ b/files/ja/glossary/promise/index.html @@ -0,0 +1,30 @@ +--- +title: Promise +slug: Glossary/Promise +tags: + - Glossary + - Promise + - Promises + - asynchronous +translation_of: Glossary/Promise +--- +

{{jsxref("Promise")}} は、ある {{Glossary("function", "関数")}} が返す、呼び出された時点でまだ完了していない処理の結果をあらわす {{Glossary("object", "オブジェクト")}} です。その名のとおり、関数が Promise オブジェクトを経由して、最終的に何らかの結果を返すことを約束(Promise は約束の意味)するわけです。

+ +

{{Glossary("asynchronous", "非同期に")}} 処理をおこなう関数が処理を完了したとき、Promise オブジェクトに設置された resolution ハンドラ(または fulfillment ハンドラ、completion ハンドラ) が呼ばれて、呼び出し元の関数は処理の完了を知ることができます。

+ +

関連情報

+ +

より詳しく学ぶには、以下のリンクをご覧ください。

+ +

一般知識

+ + + +

技術的な参照情報

+ + -- cgit v1.2.3-54-g00ecf