Prim: Parallel primatives for production applications
The packages in prim is your one stop shop for advanced parallel primatives to create robust and easy to diagnose applications. These are parallel and not concurrent by definitions layed out in the famous Go talk by Rob Pike: https://go.dev/blog/waza-talk . We provide parallel and concurrent pipelines in our https://github.com/gostdlib/concurrency/pipelines set of packages.
Package prim provides concurrency primatives that can be used to run concurrent
operations in a safer manner than the stdlib with additional instrumentation
and reuse options to prevent costly setup and teardown of goroutines (they are
cheap, but they are not free).