Registry / utility / heptio-workgroup

heptio-workgroup

JSON →
library0.8.0-beta.1gogounverified

Provides a mechanism for controlling the lifetime of a set of related goroutines.

go get github.com/heptio/workgroup
INSTALL
IMPORT
SIG · HEPTIO-WORKGROUP
H
heptio-workgroup
utilitygov0.8.0-beta.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

workgroup
github.com/heptio/workgroup

Creates a workgroup and runs a goroutine.

package main import ( "context" "fmt" "github.com/heptio/workgroup" ) func main() { var g workgroup.Group g.Add(func(ctx context.Context) error { <-ctx.Done() return nil }) fmt.Println(g.Run(context.Background())) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.8.0-beta.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
heptio-workgroup — go get heptio-workgroup · libregistry