Registry / utility / jbenet-goprocess

jbenet-goprocess

JSON →
library0.1.4gogounverified

Provides a Process abstraction for organizing and orchestrating work with safe teardown semantics.

go get github.com/jbenet/goprocess
INSTALL
IMPORT
SIG · JBENET-GOPROCESS
J
jbenet-goprocess
utilitygov0.1.4
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.

goprocess
github.com/jbenet/goprocess

Create a process and run a goroutine that closes when the process closes.

package main import ( "fmt" "github.com/jbenet/goprocess" ) func main() { p := goprocess.WithParent(goprocess.Background()) p.Go(func(proc goprocess.Process) { fmt.Println("work done") }) <-p.Closed() }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.4latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

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