PgPubSub.on() method
Sets 'end' event handler
Signature:
on(event: 'end', listener: typeof end): this;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
event |
'end' |
|
|
listener |
typeof end |
handler invoked when the underlying connection has ended and will not reconnect. |
Returns:
this
Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.