wg

package
v0.0.0-...-003dd1b Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2020 License: BSD-2-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WaitGroupWrapper

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

func (*WaitGroupWrapper) Wait

func (w *WaitGroupWrapper) Wait()

阻塞等待waitgroup

func (*WaitGroupWrapper) WaitTimeOut

func (w *WaitGroupWrapper) WaitTimeOut(timeout time.Duration) bool

阻塞等待waitgroup,超时立即返回

func (*WaitGroupWrapper) Wrap

func (w *WaitGroupWrapper) Wrap(cb func())

Jump to

Keyboard shortcuts

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