Versions in this module Expand all Collapse all v1 v1.1.0 Aug 10, 2026 Changes in this version + func TryReceive[T any](ch <-chan T) (val T, ok bool) v1.0.0 Aug 1, 2026 Changes in this version + var ErrChanClosed = errors.New("channel closed") + var ErrContextCanceled = errors.New("context canceled") + func IterReceive[T any](ctx context.Context, ch <-chan T) iter.Seq[T] + func Receive[T any](ctx context.Context, ch <-chan T) (val T, err error) + func Send[T any](ctx context.Context, ch chan<- T, val T) error