Modern async iteration in JavaScript with Array.fromAsync()

1 AllThingsSmitty 1 7/14/2025, 2:14:39 PM allthingssmitty.com ↗

Comments (1)

OhMeadhbh · 6h ago
<snark>At some point we should just tell JavaScript programmers about monads and be done with it.</snark>

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