PgPubSub.on() method
Sets 'notify' event handler
Signature:
on(event: 'notify', listener: typeof notify): this;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
event |
'notify' |
|
|
listener |
typeof notify |
handler invoked when this instance published a notification. |
Returns:
this
Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.