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

Function NewCond

asyncbuffer/cond.go:20–24  ·  view source on GitHub ↗

NewCond creates a new Cond instance with an initialized channel.

()

Source from the content-addressed store, hash-verified

18
19// NewCond creates a new Cond instance with an initialized channel.
20func NewCond() *Cond {
21 return &Cond{
22 ch: make(condCh),
23 }
24}
25
26// Tick signals that an event has occurred by closing the channel and incrementing cursor.
27func (t *Cond) Tick() {

Callers 3

SetupTestMethod · 0.92
NewFunction · 0.85
NewReadFullFunction · 0.85

Calls

no outgoing calls

Tested by 1

SetupTestMethod · 0.74