concurrent

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Errors

func Errors(ctx context.Context) (<-chan error, func(err error))

Errors returns an error channel and a function to push an error into that channel. The function returns when either the error is received from the channel or ctx is canceled.

func Wait

func Wait(wg *sync.WaitGroup) <-chan struct{}

Wait returns a channel that is closed when the WaitGroup counter is zero.

Types

This section is empty.

Jump to

Keyboard shortcuts

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