Comment by cbg0
15 hours ago
While stdlib doesn't handle this, there are libraries that can support your use case https://github.com/jizhuozhi/go-future
If you only need to launch work and wait for completion, Go 1.25 has sync.WaitGroup.Go -> wg.Go(f) -> by wg.Wait(). No channels like the page says.
No comments yet
Contribute on Hacker News ↗