mirror of
https://github.com/flynx/types.js.git
synced 2025-10-29 02:20:07 +00:00
minor doc tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
0ee4da4fd3
commit
7e3d735d06
19
Promise.js
19
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...
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user