/concurrency

Types and functions for managing concurrency in Go.

Primary LanguageGoMIT LicenseMIT

A collection of types and functions for structured concurrency

PkgGoDev GHA Build Go Report Card Slack chat

This package centres around a managed tree of goroutines. An error in any goroutine or sub-tree will cancel the entire tree. Each node in the tree is a group of goroutines that can be waited on.

There are also useful concurrent functions that utilise the tree.