PgPubSub.once() method
Sets 'listen' event handler, which fired only one single time
Signature:
once(event: 'listen', listener: typeof listen): this;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
event |
'listen' |
|
|
listener |
typeof listen |
handler invoked when this process began listening one or more channels. Fires at most once. |
Returns:
this
Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.