Documentation ¶
Index ¶
- func Any(ctx context.Context, tasks ...func(ctx context.Context) error) error
- func Run(ctx context.Context, tasks ...func() error) error
- type Group
- func (g *Group) Append(name string, f func(ctx context.Context) error)
- func (g *Group) Append0(f func(ctx context.Context) error)
- func (g *Group) Cleanup(f func())
- func (g *Group) Concurrency(n int)
- func (g *Group) FastFail()
- func (g *Group) Run(contextList ...context.Context) error
- func (g *Group) RunContextList(contextList []context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Group ¶
type Group struct {
// contains filtered or unexported fields
}
func (*Group) Concurrency ¶ added in v0.3.0
Click to show internal directories.
Click to hide internal directories.