Combining Array.map, Effect.all, and console logging the progress
Here is my implementation of a less verbose way to map on a list of items to create a list of Effects and then applying Effect.all, while also logging the current progress.
For that, I made a function call
Example of usage:
Anybody has a suggestion to improve it? Are there some obvious issues with the implementation?
For that, I made a function call
allMap (not sure if that's the best name). It supports data-first and data-last, and can be passed optional parameters for concurrency and for adding a delay between the batches.Example of usage:
Anybody has a suggestion to improve it? Are there some obvious issues with the implementation?
