Registry / utility / txthinking-runnergroup

txthinking-runnergroup

JSON →
library0.0.0-20230325130830-408dc5853f86gogounverified

A Go library for managing and running groups of goroutines with lifecycle control.

go get github.com/txthinking/runnergroup
INSTALL
IMPORT
SIG · TXTHINKING-RUNNERG
T
txthinking-runnergroup
utilitygov0.0.0-20230325130830-408dc5853f86
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.

runnergroup
github.com/txthinking/runnergroup

Create a runner group and add a goroutine.

package main import ( "context" "github.com/txthinking/runnergroup" ) func main() { rg := runnergroup.New() rg.Add(func(ctx context.Context) error { <-ctx.Done() return nil }) rg.Run() }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20230325130830-408dc5853f86latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
txthinking-runnergroup — go get txthinking-runnergroup · libregistry