errgroup

package
v3.34.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2024 License: AGPL-3.0 Imports: 5 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Group

type Group struct {
	// contains filtered or unexported fields
}

func NewGroupWithContext

func NewGroupWithContext(ctx context.Context, limit int, retryOpts ...retry.Option) (*Group, context.Context)

func (*Group) Err

func (g *Group) Err() error

func (*Group) Go

func (g *Group) Go(f func(ctx context.Context) error)

func (*Group) SetLimit

func (g *Group) SetLimit(n int) *Group

func (*Group) Success

func (g *Group) Success() uint64

func (*Group) TryGo

func (g *Group) TryGo(f func(ctx context.Context) error) bool

func (*Group) Wait

func (g *Group) Wait() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL