RedisQueue.unsubscribe() method
Closes the subscription connection and forgets the channel name together with every handler registered through RedisQueue.subscribe().
Signature:
unsubscribe(): Promise<void>;
Returns:
Promise<void>
Remarks
A later RedisQueue.subscribe() must register its handlers again, and may use a different channel name. A no-op when the queue was never subscribed, and it never rejects — failures during unsubscribe are logged only. Called automatically by RedisQueue.destroy().
Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.