minor doc tweaks...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2021-01-05 04:49:24 +03:00
parent 0ee4da4fd3
commit 7e3d735d06

View File

@ -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...