NoLock.onAcquire() method

Registers nothing: NoLock.acquire() always succeeds immediately, so there is no late takeover for the handler to report.

Signature:

onAcquire(handler: (channel: string) => void): void;

Parameters

Parameter

Type

Description

handler

(channel: string) => void

ignored

Returns:

void

Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.