Skip to content
/ sync Public

Extension of types from golang.org/x/sync.

License

Notifications You must be signed in to change notification settings

uw-labs/sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sync CircleCI

Extension of types from golang.org/x/sync.

rungroup

Alternative to error group that stops (i.e. cancels the underlying context) as soon as any function started in the group terminates. For this to work it can only be created with a context.

gogroup

Another alternative to error group that only waits until any single function started in the group terminates. Like rungroup it can only be created with a context and this context is cancelled as soon as any function started in the group terminates.

NOTE: calling wait without starting any goroutine with the Go method will block until the parent context is canceled.

About

Extension of types from golang.org/x/sync.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages