MCPcopy
hub / github.com/CodisLabs/codis / PopFrontAllVoid

Method PopFrontAllVoid

pkg/proxy/request.go:160–165  ·  view source on GitHub ↗
(onRequest func(r *Request))

Source from the content-addressed store, hash-verified

158}
159
160func (c *RequestChan) PopFrontAllVoid(onRequest func(r *Request)) {
161 c.PopFrontAll(func(r *Request) error {
162 onRequest(r)
163 return nil
164 })
165}

Callers 2

loopWriterMethod · 0.80
benchmarkRequestChanNFunction · 0.80

Calls 1

PopFrontAllMethod · 0.95

Tested by 1

benchmarkRequestChanNFunction · 0.64