Live data from Hacker News

Modern async iteration in JavaScript with Array.fromAsync()

allthingssmitty.com

1–2 of 2 posts

Re: Modern async iteration in JavaScript with Array.fromAsync()

#2
At some point we should just tell JavaScript programmers about monads and be done with it.

Seriously though... thx for the heads up. I didn't notice this in the TC39 output.

Also... somewhat related... here's the old way to do async iterators... I nano-blogged Tamás Sallai's "How to use async functions with Array.forEach in Javascript" at https://www.bi6.us/CO/N/20220508.HTML#/051102