concurrent

package
v4.63.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: MIT Imports: 3 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FailFast added in v4.30.4

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

func NewFailFast added in v4.30.4

func NewFailFast(limit int) *FailFast

func (*FailFast) Go added in v4.30.4

func (ff *FailFast) Go(f func() error)

func (*FailFast) Wait added in v4.30.4

func (ff *FailFast) Wait() error

func (*FailFast) WithContext added in v4.30.4

func (ff *FailFast) WithContext(ctx context.Context) context.Context

type Limiter added in v4.62.0

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

func NewLimiter added in v4.62.0

func NewLimiter(limit int) *Limiter

func (*Limiter) Go added in v4.62.0

func (l *Limiter) Go(f func())

func (*Limiter) Wait added in v4.62.0

func (l *Limiter) Wait()

Jump to

Keyboard shortcuts

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