From a18b1c64a981a9f074095c16d397c4ee301da5b3 Mon Sep 17 00:00:00 2001 From: guymelef Date: Thu, 15 Jun 2017 12:35:09 +0800 Subject: [PATCH] Rephrase note about 'promisory' The correct spelling is 'promissory'. See: https://www.merriam-webster.com/dictionary/promissory --- async & performance/ch3.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/async & performance/ch3.md b/async & performance/ch3.md index 174cde4ef..b5616dcee 100644 --- a/async & performance/ch3.md +++ b/async & performance/ch3.md @@ -1963,7 +1963,7 @@ Wow, that was pretty easy! The act of wrapping a callback-expecting function to be a Promise-aware function is sometimes referred to as "lifting" or "promisifying". But there doesn't seem to be a standard term for what to call the resultant function other than a "lifted function", so I like "promisory" better as I think it's more descriptive. -**Note:** Promisory isn't a made-up term. It's a real word, and its definition means to contain or convey a promise. That's exactly what these functions are doing, so it turns out to be a pretty perfect terminology match! +**Note:** Promisory is derived from a real word, "promissory". Its definition means to contain or convey a promise. That's exactly what these functions are doing, so it turns out to be a pretty perfect terminology match! So, `Promise.wrap(ajax)` produces an `ajax(..)` promisory we call `request(..)`, and that promisory produces Promises for Ajax responses.