Re:Show HN: Ts-Chan – Go-Like Concurrency Primitives for Typ...
by felipellrocha on Monday November 06, 2023 @09:57AM
(#38163454)
Couldn’t you spin N workers and assign work to them?
[ Parent
| on HN ]
Re:Show HN: Ts-Chan – Go-Like Concurrency Primitives for Typ...
by joeycumines on Monday November 06, 2023 @03:44PM
(#38168706)
Fan-in is the other way, but yeah you can do batches of concurrent operations in JS fairly easily.
I still like "pipelining" over that, but that can also be implemented with just an iterator, pretty trivially.