MCPcopy Create free account
hub / github.com/ByteStorage/FlyDB / Wait

Method Wait

lib/sync/wait/wait.go:24–26  ·  view source on GitHub ↗

Wait waits until the WaitGroup counter is zero.

()

Source from the content-addressed store, hash-verified

22
23// Wait waits until the WaitGroup counter is zero.
24func (w *Wait) Wait() {
25 w.wg.Wait()
26}
27
28// WaitTimeout waits until the WaitGroup counter is zero or timeout.
29// It returns true if timed out.

Callers 3

ListenAndServeFunction · 0.80
WaitTimeoutMethod · 0.80
TestDB_ConcurrentPutFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestDB_ConcurrentPutFunction · 0.64