Versions in this module Expand all Collapse all v0 v0.9.0 Oct 8, 2026 Changes in this version type Scope + func (s *Scope) GoFuture[T any](fn func(ctx context.Context) (T, error)) Future[T] v0.8.0 Jun 25, 2026 Changes in this version type Option + func WithCancelOnSuccess() Option v0.7.0 Jun 24, 2026 Changes in this version + type Future struct + func GoFuture[T any](s *Scope, fn func(ctx context.Context) (T, error)) Future[T] + func (f Future[T]) Wait() (T, error) v0.6.0 Jun 21, 2026 Changes in this version type Option + func WithTimeout(d time.Duration) Option v0.5.0 Jun 20, 2026 Changes in this version type Option + func WithMaxConcurrency(max int) Option v0.4.0 Jun 19, 2026 Changes in this version type Option + func WithErrAggregation() Option v0.3.0 Jun 17, 2026 Changes in this version type Option + func WithSupervisor() Option v0.2.0 Jun 16, 2026 Changes in this version + type Option func(*options) type Scope + func (s *Scope) Scope(body func(child *Scope) error, opts ...Option) v0.1.0 Jun 13, 2026 Changes in this version + func Run(ctx context.Context, body func(s *Scope) error) error + type Scope struct + func (s *Scope) Go(fn func(ctx context.Context) error)