concurrent

package
v0.0.22 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Go

func Go(fn func())

Types

type CtxWaitGroup added in v0.0.5

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

func NewCtxWaitGroup added in v0.0.5

func NewCtxWaitGroup(ctx context.Context) *CtxWaitGroup

func (*CtxWaitGroup) Go added in v0.0.6

func (cwg *CtxWaitGroup) Go(fn func())

func (*CtxWaitGroup) Wait added in v0.0.6

func (cwg *CtxWaitGroup) Wait() error

type ErrGroup

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

func NewErrGroup

func NewErrGroup(ctx context.Context) *ErrGroup

func (*ErrGroup) Go

func (eg *ErrGroup) Go(fn func() error)

func (*ErrGroup) Wait

func (eg *ErrGroup) Wait() error

type WaitGroup

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

func NewWaitGroup

func NewWaitGroup() *WaitGroup

func (*WaitGroup) Go

func (wg *WaitGroup) Go(fn func())

func (*WaitGroup) GoC added in v0.0.6

func (wg *WaitGroup) GoC(ctx context.Context, fn func())

func (*WaitGroup) Wait

func (wg *WaitGroup) Wait()

Jump to

Keyboard shortcuts

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