Hacker News new | ask | show | jobs
by felipellrocha 963 days ago
Couldn’t you spin N workers and assign work to them?
1 comments

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.