Registry / utility / anacrolix-chansync

anacrolix-chansync

JSON →
library0.7.0gogounverified

ChanSync provides synchronization primitives based on Go channels.

go get github.com/anacrolix/chansync
INSTALL
IMPORT
SIG · ANACROLIX-CHANSYNC
A
anacrolix-chansync
utilitygov0.7.0
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.

chansync
github.com/anacrolix/chansync

Use a channel-based WaitGroup.

package main import ( "fmt" "github.com/anacrolix/chansync" ) func main() { var wg chansync.WaitGroup wg.Add(1) go func() { defer wg.Done() fmt.Println("goroutine done") }() wg.Wait() }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
21 hits · last 30 days
node
18
Meta
1
Amazon
1
OpenAI (training)
1
Resources
anacrolix-chansync — go get anacrolix-chansync · libregistry