Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task group waits for each task, sequentially #26

Closed
gerardolima opened this issue May 20, 2024 · 1 comment
Closed

Task group waits for each task, sequentially #26

gerardolima opened this issue May 20, 2024 · 1 comment

Comments

@gerardolima
Copy link

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

  • tasuku version: ^1.0.0
  • Operating System: node
  • Node version: v18.18.0
  • Package manager (npm/yarn/pnpm) and version: 10.2.3
@privatenumber
Copy link
Owner

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

@privatenumber privatenumber closed this as not planned Won't fix, can't repro, duplicate, stale May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants