sindresorhus / p-map

Map over promises concurrently
MIT License
1.27k stars 58 forks source link

Support Async Iterable Protocol #20

Closed kuchta closed 2 years ago

sindresorhus commented 5 years ago

Please include some body text in the issue. For example, what it would look like to support this?

kuchta commented 5 years ago

I meant it would be cool to have support for Async Iterables in place of input argument.

sindresorhus commented 5 years ago

Yeah, we could do this, but not worth doing it until we can use it natively internally, which means targeting Node.js 10, which we cannot do until next year.

sindresorhus commented 4 years ago

This can now be done. PR welcome :)