PgPubSub.once() method
Sets any unknown or user-defined event handler, which would fire only one single time
Signature:
once(event: string | symbol, listener: (...args: any[]) => void): this;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
event |
string | symbol |
event name |
|
listener |
(...args: any[]) => void |
event handler |
Returns:
this
Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.