privatenumber / tasuku

✅ タスク — The minimal task visualizer for Node.js
MIT License
1.91k stars 30 forks source link

Task group waits for each task, sequentially #26

Closed gerardolima closed 1 month ago

gerardolima commented 1 month ago

Bug description

When checking tasuku in the playground, I noticed a single task group with 3 tasks of 1 second each takes 3 seconds, when I expected that it should complete after just over 1 second.

image

Reproduction

The code is available in the playground https://stackblitz.com/edit/tasuku-demo-vwyx8w?file=index.js

Environment

privatenumber commented 1 month ago

Expected behavior. I think what you want is this: https://github.com/privatenumber/tasuku#running-tasks-in-parallel