Discover Packages
github.com/iver-wharf/wharf-cmd
internal
parallel
package
Version:
v0.8.0-rc.2
Opens a new window with list of versions in this module.
Published: May 5, 2022
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Func is a function declaration used in parallel runs.
Group is a list of functions to run in parallel.
AddFunc adds a function to the group to later be used in the parallel call.
The name is prepended to the error message, if any.
RunCancelEarly will run all functions in parallel in separate goroutines, and
will cancel them all as soon as one of them returns an error. The resulting
error is the error from the first function that errors.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.