Documentation
¶
Overview ¶
Package syncutil provides small synchronization helpers shared across packages that don't otherwise have a natural common dependency.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WaitWithTimeout ¶
WaitWithTimeout waits for wg to reach zero, returning true if it did so within timeout. Returns false if timeout elapses first; the spawned goroutine remains running and reports into wg after this function returns, but its result is discarded (sync.WaitGroup has no cancelable Wait).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.