Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Wrapper ¶
Wrapper a wait group wrapper with counter
func (*Wrapper) Add ¶
Add adds delta, which may be negative, to the WaitGroup counter. If the counter becomes zero, all goroutines blocked on Wait are released. If the counter goes negative, Add panics.
func (*Wrapper) RecoverableWrap ¶
func (w *Wrapper) RecoverableWrap(cb func())
RecoverableWrap recoverable wrap
Click to show internal directories.
Click to hide internal directories.