Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2020-11-24 20:23:22 +03:00
parent bbf9d739f0
commit 82d1ba83f2
2 changed files with 15 additions and 1 deletions

View File

@ -12,6 +12,11 @@ var object = require('ig-object')
/*********************************************************************/
// Iterable promise...
//
// Like Promise.all(..) but adds ability to iterate through results
// via generators .map(..)/.reduce(..) and friends...
//
var IterablePromise =
module.IterablePromise =
@ -203,6 +208,10 @@ object.Constructor('IterablePromise', Promise, {
//---------------------------------------------------------------------
// Interactive promise...
//
// Adds ability to send messages to the running promise.
//
var InteractivePromise =
module.InteractivePromise =
@ -249,6 +258,11 @@ object.Constructor('InteractivePromise', Promise, {
//---------------------------------------------------------------------
// Cooperative promise...
//
// A promise that can be resolved/rejected externally.
// NOTE: normally this has no internal resolver logic...
//
var CooperativePromise =
module.CooperativePromise =

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "ig-types",
"version": "5.0.0",
"version": "5.0.3",
"lockfileVersion": 1,
"requires": true,
"dependencies": {