Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Group ¶
type Group struct {
// contains filtered or unexported fields
}
A Group is a collection of goroutines working on subtasks that are part of the same overall task. It collects possible errors returned from the subtasks.
func WithContext ¶
WithContext returns a new Group and an associated context.Context derived from ctx. Unlike golang.org/x/sync/errgroup.Group, the derived context is not canceled the first time a function passed to Group.Go returns a non-nil error.
Click to show internal directories.
Click to hide internal directories.