# PgPubSub.notify() method · @imqueue/pg-pubsub

Source: https://imqueue.org/api/pg-pubsub/latest/pg-pubsub.pgpubsub.notify/
Published: 2026-08-01
Author: @imqueue maintainers (https://github.com/imqueue)
Package: @imqueue/pg-pubsub 3.0.5 — generated reference, not hand-written

Performs NOTIFY to a given channel with a given payload to all listening subscribers

**Signature:**

```typescript
notify(channel: string, payload: AnyJson): Promise<void>;
```

## Parameters


| Parameter | Type | Description |
| --- | --- | --- |
| channel | string | channel to publish to |
| payload | [AnyJson](https://imqueue.org/api/pg-pubsub/latest/pg-pubsub.anyjson/) | payload to publish for subscribers |


**Returns:**

Promise<void>

