Discover Packages
github.com/adoublef/daw
errgroup
package
Version:
v0.0.0-...-2ad8e2e
Opens a new window with list of versions in this module.
Published: Nov 21, 2023
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
A Group is a collection of goroutines working on subtasks that are part of the same overall task.
A New Group with a shared Context
Go calls the given function in a new goroutine. It blocks until the new goroutine can be added without the number of active goroutines in the group exceeding the configured limit.
Wait blocks until all function calls from the Go method have returned, then returns the first non-nil error (if any) from them.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.