We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb3f2f9 commit 12e4162Copy full SHA for 12e4162
internal/goro/group.go
@@ -49,12 +49,13 @@ type Group struct {
49
// If the supplied func does not abide by `ctx.Done()` of the provided
50
// `context.Context` then `Wait()` on this `Group` will hang until all functions
51
// exit on their own (possibly never).
52
+// NOTE: Errors returned by the supplied function are ignored.
53
func (g *Group) Go(f func(ctx context.Context) error) {
54
g.initOnce.Do(g.init)
55
g.wg.Add(1)
56
go func() {
57
defer g.wg.Done()
- f(g.ctx)
58
+ _ = f(g.ctx)
59
}()
60
}
61
0 commit comments