PgPubSub.on() method
Sets 'unlisten' event handler
Signature:
on(event: 'unlisten', listener: typeof unlisten): this;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
event |
'unlisten' |
|
|
listener |
typeof unlisten |
handler invoked when this process stopped listening one or more channels. |
Returns:
this
Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.