MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / onLost

Method onLost

packages/internal/src/db/advisory-lock.ts:45–45  ·  view source on GitHub ↗

Register a callback to be called if the lock is lost (connection dies)

(callback: () => void)

Source from the content-addressed store, hash-verified

43export interface LockHandle {
44 /** Register a callback to be called if the lock is lost (connection dies) */
45 onLost(callback: () => void): void
46 /** Release the lock and clean up resources */
47 release(): Promise<void>
48}

Callers 2

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected