IMessageQueue.unsubscribe() method
Closes the subscription channel and drops every handler registered through IMessageQueue.subscribe(), resetting the instance so a later subscription may use a different channel name.
Signature:
unsubscribe(): Promise<void>;
Returns:
Promise<void>
Remarks
A no-op when no subscription exists, and it never rejects — teardown failures are only logged. There is no way to remove an individual handler.
Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.