cleanup...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2022-06-13 13:32:35 +03:00
parent 4644610445
commit 7dfb0c704f

View File

@ -150,7 +150,7 @@ object.Constructor('IterablePromise', Promise, {
[map](function(elem){
return elem && elem.then ?
(stoppable ?
// stoppable -- need to handle stop...
// stoppable -- need to handle stop async...
elem
.then(function(res){
return !stop ?
@ -186,11 +186,10 @@ object.Constructor('IterablePromise', Promise, {
try{
return pack()
}catch(err){
return handleSTOP(err) }
return handleSTOP(err) } }
// pack (non-stoppable)...
} else {
return pack() } },
return pack() },
/*/
return [list].flat()
.map(function(elem){