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

Method ReleaseThreshold

asyncbuffer/buffer.go:179–181  ·  view source on GitHub ↗

ReleaseThreshold releases the pause, allowing the buffer to immediately read data beyond the pause threshold.

()

Source from the content-addressed store, hash-verified

177// ReleaseThreshold releases the pause, allowing the buffer to immediately
178// read data beyond the pause threshold.
179func (ab *AsyncBuffer) ReleaseThreshold() {
180 ab.paused.Release()
181}
182
183// Error returns the error that occurred during reading data in background.
184func (ab *AsyncBuffer) Error() error {

Callers 1

DownloadAsyncMethod · 0.80

Calls 1

ReleaseMethod · 0.80

Tested by

no test coverage detected