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

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

Stops listening all connected channels, and, if singleListener option is set to true - will release all acquired locks (if any was settled).

**Signature:**

```typescript
unlistenAll(): Promise<void>;
```
**Returns:**

Promise<void>

