From 7e3d735d069fa736dfcd9641dd821c6b6a509b23 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Tue, 5 Jan 2021 04:49:24 +0300 Subject: [PATCH] minor doc tweaks... Signed-off-by: Alex A. Naanou --- Promise.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/Promise.js b/Promise.js index a12f029..2d340e3 100644 --- a/Promise.js +++ b/Promise.js @@ -2,6 +2,25 @@ * * * +* +* This defines the following extensions to Promise: +* +* Promise.iter(seq) +* Iterable promise object. +* Similar to Promise.all(..) but adds basic iterator/generator +* API and will resolve the items as they are ready (resolved). +* +* Promise.interactive(handler) +* Interactive promise object. +* This adds a basic message passing API to the promise. +* +* Promise.cooperative() +* Cooperative promise object. +* Exposes the API to resolve/reject the promise object +* externally. +* +* +* **********************************************/ /* c8 ignore next 2 */ ((typeof define)[0]=='u'?function(f){module.exports=f(require)}:define) (function(require){ var module={} // make module AMD/node compatible...