utils

package
v0.0.0-...-228f33a Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WaitGroup

type WaitGroup struct {
	sync.WaitGroup
}

WaitGroup is an extension of sync.WaitGroup that allows waiting with a maximum duration

func (*WaitGroup) WaitForMax

func (wg *WaitGroup) WaitForMax(d time.Duration) error

WaitForMax waits until the WaitGroup is Done or the specified duration has elapsed

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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