AnyLock.onRelease() method

Implements lock release handler upset

Signature:

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

Parameters

Parameter

Type

Description

handler

(channel: string) => void

called with the channel name once this process has released the lock for it, so a waiting process can take over

Returns:

void

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