sync

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TimeoutError = fmt.Errorf("group timed out")
)

Functions

This section is empty.

Types

type ExtendedWaitGroup

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

func (*ExtendedWaitGroup) Add

func (wg *ExtendedWaitGroup) Add(delta int)

func (*ExtendedWaitGroup) Done

func (wg *ExtendedWaitGroup) Done()

func (*ExtendedWaitGroup) UpdateUntil

func (wg *ExtendedWaitGroup) UpdateUntil(waitUntil time.Time)

func (*ExtendedWaitGroup) Wait

func (wg *ExtendedWaitGroup) Wait()

func (*ExtendedWaitGroup) WaitUntil

func (wg *ExtendedWaitGroup) WaitUntil(waitUntil time.Time) error

func (*ExtendedWaitGroup) WaitWithTimeout

func (wg *ExtendedWaitGroup) WaitWithTimeout(duration time.Duration) error

Jump to

Keyboard shortcuts

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