IMQService.destroy() method

Removes this instance's signal handlers, then unsubscribes and destroys the underlying queue.

Signature:

destroy(): Promise<void>;

Returns:

Promise<void>

Remarks

It does not close the metrics server — if IMQMetricsServerOptions.enabled was set, close service.metricsServer yourself, otherwise the open listener keeps the process alive. In-flight requests are not awaited.

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