group

package
v0.0.0-...-9f10b09 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2025 License: MIT Imports: 2 Imported by: 0

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 New

func New(ctx context.Context, opts ...GroupOption) *Group

func (*Group) Go

func (g *Group) Go(fn func(context.Context) error) *Group

func (*Group) Wait

func (g *Group) Wait() error

func (*Group) WaitC

func (g *Group) WaitC() <-chan error

type GroupOption

type GroupOption func(*Group)

func WithLimit

func WithLimit(n int) GroupOption

Jump to

Keyboard shortcuts

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