# AnyJobQueue.destroy() method · @imqueue/job

Source: https://imqueue.org/api/job/latest/job.anyjobqueue.destroy/
Published: 2026-07-31
Author: @imqueue maintainers (https://github.com/imqueue)
Package: @imqueue/job 3.0.3 — generated reference, not hand-written

Closes the broker connection and releases the queue's resources for good. Unlike [AnyJobQueue.stop()](https://imqueue.org/api/job/latest/job.anyjobqueue.stop/) this is not reversible.

**Signature:**

```typescript
destroy(): Promise<void>;
```
**Returns:**

Promise<void>

