terrgroup

package
v0.0.0-...-080ad10 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2022 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 ThrottledErrorGroup

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

func New

func New(concurrency int) (*ThrottledErrorGroup, context.Context)

func WithContext

func WithContext(ctx context.Context, concurrency int) (*ThrottledErrorGroup, context.Context)

func (*ThrottledErrorGroup) Go

func (g *ThrottledErrorGroup) Go(fc func() error)

func (*ThrottledErrorGroup) Wait

func (g *ThrottledErrorGroup) Wait() error

Jump to

Keyboard shortcuts

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