PgPubSub.channels property

Per-channel event emitter. Listening here scopes a handler to one channel, where the instance's own 'message' event fires for every channel — which is usually what you want when a process listens to several.

Signature:

readonly channels: PgChannelEmitter;

Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.