MCPcopy Create free account
hub / github.com/corestoreio/pkg / PutTwinCallBack

Function PutTwinCallBack

util/bufferpool/twin.go:102–109  ·  view source on GitHub ↗

PutTwinCallBack same as PutTwin but executes fn after buf has been returned into the pool. buf := twinBuf.Get() defer twinBuf.PutCallBack(buf, wg.Done)

(buf *TwinBuffer, fn func())

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

PutCallBackMethod · 0.80

Tested by

no test coverage detected