mirror of
https://github.com/imgproxy/imgproxy.git
synced 2026-04-23 19:41:06 +02:00
12 lines
265 B
Go
12 lines
265 B
Go
package asyncbuffer
|
|
|
|
// CondCh returns the internal channel of a Cond for testing.
|
|
func CondCh(c *Cond) chan struct{} {
|
|
return c.ch
|
|
}
|
|
|
|
// LatchDone returns the internal done channel of a Latch for testing.
|
|
func LatchDone(l *Latch) chan struct{} {
|
|
return l.done
|
|
}
|