sodiray / radash

Functional utility library - modern, simple, typed, powerful
https://radash-docs.vercel.app
MIT License
4.19k stars 167 forks source link

parallel should support limit = Infinity #426

Open karmaniverous opened 1 week ago

karmaniverous commented 1 week ago

parallel should an arbitrary number of parallel executions. Semantically this could be expressed with limit equal either to undefined or Infinity.

In the current implementation, limit: undefined is precluded by type requirements, and limit: Infinity blows up at this line.