Versions in this module Expand all Collapse all v0 v0.2.0 Dec 6, 2020 Changes in this version + func CancelWithSignal(tasks *Tasks, sigs ...os.Signal) + type Tasks struct + func New(tasks ...Task) *Tasks + func (t *Tasks) Append(tasks ...Task) *Tasks + func (t *Tasks) Cancel() + func (t *Tasks) Run(ctx context.Context) error v0.1.0 Apr 12, 2020 Changes in this version + func IgnoreCanceled(err error) error + type Group struct + func NewGroup() *Group + func (g *Group) Add(task Task) *Group + func (g *Group) Cancel() + func (g *Group) CancelWithSignals(sig ...os.Signal) + func (g *Group) Run(ctx context.Context) error + type Task interface + Run func(context.Context) error + type TaskFunc func(context.Context) error + func (t TaskFunc) Run(ctx context.Context) error