Discover Packages
github.com/influxdata/flux
internal
pkg
syncutil
package
Version:
v0.90.0
Opens a new window with list of versions in this module.
Published: Oct 15, 2020
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type WaitGroup struct {
}
WaitGroup is a custom sync.WaitGroup that handles functions that return errors.
Do starts a new goroutine and executes the function within that goroutine.
This will not execute the function if an error has already occurred.
Wait waits for all of the goroutines started with Do to finish. It returns
the first error encountered, but will wait for the remaining goroutines to finish.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.