ecmascript-iterator-hof icon indicating copy to clipboard operation
ecmascript-iterator-hof copied to clipboard

Async Iterators

Open RangerMauve opened this issue 9 years ago • 4 comments

Would it make sense for this proposal to also define the same functions for Async Iterables to kill two birds with one stone?

Having higher order functions on async iterables would make async programming extremely powerful.

RangerMauve avatar Dec 28 '16 19:12 RangerMauve

Yeah - I think these functions definitely deserve to belong on both typical and async iterators (should those reach stage 4) - not sure if that should be two separate proposals or one collective proposal.

leebyron avatar Jan 03 '17 22:01 leebyron

Since Async Iterators are right on the cusp of being implemented in v8, I think it's safe to say that they will be part of the standard before this proposal hits. If it's possible, I think it would make sense to include Async iterators at the same time to avoid confusion.

RangerMauve avatar Jan 03 '17 22:01 RangerMauve

The only reason I see for these to be separate proposals is if any of the hofs would be different for the iterator types.

zimme avatar Jun 22 '17 15:06 zimme

Now that async-iterators are available pretty much everywhere, there shouldn't be much question about it.

RangerMauve avatar Nov 13 '17 21:11 RangerMauve