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

Function CondCh

asyncbuffer/export_test.go:4–6  ·  view source on GitHub ↗

CondCh returns the internal channel of a Cond for testing.

(c *Cond)

Source from the content-addressed store, hash-verified

2
3// CondCh returns the internal channel of a Cond for testing.
4func CondCh(c *Cond) chan struct{} {
5 return c.ch
6}
7
8// LatchDone returns the internal done channel of a Latch for testing.
9func LatchDone(l *Latch) chan struct{} {

Callers 2

TestBasicWaitAndTickMethod · 0.92
TestCloseMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected