PgIpLock.onRelease() method
This would provide release handler which will be called once the lock is released and the channel name would be bypassed to a given handler
Signature:
onRelease(handler: (channel: string) => void): void;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
handler |
(channel: string) => void |
called with the channel name when this lock changes hands |
Returns:
void
Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.