Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2022-06-18 17:15:26 +03:00
parent 41fd0c8a6a
commit deec323d8f

View File

@ -121,9 +121,10 @@ object.Constructor('IterablePromise', Promise, {
// handlers in sequence.
// XXX EXPEREMENTAL: STOP...
// XXX add support for async generators...
// ... an async generator is not "parallel", i.e. intil one
// ...an async generator is not "parallel", i.e. intil one
// returned promise is resolved the generator blocks (will not
// advance)...
// ...can we feed out a results one by one???
__pack: function(list, handler=undefined){
var that = this
// handle iterable promise list...