PgPubSub.notify() method
Performs NOTIFY to a given channel with a given payload to all listening subscribers
Signature:
notify(channel: string, payload: AnyJson): Promise<void>;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
channel |
string |
channel to publish to |
|
payload |
payload to publish for subscribers |
Returns:
Promise<void>
Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.