# IMQService.stop() method · @imqueue/rpc

Source: https://imqueue.org/api/rpc/latest/rpc.imqservice.stop/
Published: 2026-08-04
Author: @imqueue maintainers (https://github.com/imqueue)
Package: @imqueue/rpc 3.5.3 — generated reference, not hand-written

Stops consuming messages from the queue.

**Signature:**

```typescript
stop(): Promise<void>;
```
**Returns:**

Promise<void>

## Remarks

Connections, signal handlers and the metrics server are all left in place — use [IMQService.destroy()](https://imqueue.org/api/rpc/latest/rpc.imqservice.destroy/) for full teardown. Calling this first is not a prerequisite for `destroy()`.

