IMQClient.unsubscribe() method
Stops receiving service events: unsubscribes the channel, discards every handler registered through IMQClient.subscribe(), and closes the dedicated subscription connection.
Signature:
unsubscribe(): Promise<void>;
Returns:
Promise<void>
Remarks
Safe when not subscribed, and it does not affect remote calls. IMQClient.destroy() performs it automatically; afterwards IMQClient.subscribe() can be used again with a fresh connection.
Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.