mirror of
https://github.com/flynx/types.js.git
synced 2025-10-29 02:20:07 +00:00
cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
fcd72b9b7b
commit
d34ba43d59
19
Promise.js
19
Promise.js
@ -836,25 +836,6 @@ object.Constructor('IterablePromise', Promise, {
|
||||
// NOTE: that here a promise will block handling of later promises even
|
||||
// if they are resolved before it.
|
||||
//
|
||||
// XXX BUG (FIXED):
|
||||
// await Promise.seqiter([
|
||||
// 1,
|
||||
// Promise.resolve(2),
|
||||
// Promise.resolve(3),
|
||||
// Promise.resolve(4),
|
||||
// Promise.resolve(5),
|
||||
// ])
|
||||
// -> [ 1, 2, [3], [[4]], [[[5]]] ]
|
||||
// looks like we need to flatten things...
|
||||
// XXX FIXED but need more testing...
|
||||
// XXX BUG (FIXED):
|
||||
// await Promise.seqiter([
|
||||
// [1],
|
||||
// Promise.resolve([1]),
|
||||
// Promise.resolve([1])
|
||||
// ],
|
||||
// e => [e])
|
||||
// -> [ [ 1 ], 1, [ 1 ] ]
|
||||
// XXX check if this behaves correctly (call order) on concatenation and
|
||||
// other methods...
|
||||
// XXX not sure if this is a viable strategy....
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user