MCPcopy Create free account
hub / github.com/imgproxy/imgproxy / Wait

Method Wait

asyncbuffer/latch.go:24–26  ·  view source on GitHub ↗

Wait blocks until the latch is released.

()

Source from the content-addressed store, hash-verified

22
23// Wait blocks until the latch is released.
24func (g *Latch) Wait() {
25 <-g.done
26}

Callers 2

TestLatchWaitFunction · 0.95
TestLatchMultipleWaitersFunction · 0.95

Calls

no outgoing calls

Tested by 2

TestLatchWaitFunction · 0.76
TestLatchMultipleWaitersFunction · 0.76