kongware / scriptum

Functional Programming Unorthodoxly Adjusted to Client-/Server-side Javascript
MIT License
383 stars 21 forks source link

add `Serial.allObj`/`Parallel.allObj` #378

Closed ivenmarquardt closed 1 year ago

ivenmarquardt commented 1 year ago

Serial.allArr is used to collect an undeterministic number of async tasks in sequence using an array. It could improve readability for many scenarios if the collector were a plain old Javascript object bc property names would act like named tasks that wouldn't rely on order anymore.

ivenmarquardt commented 1 year ago

Done.