disconnect
disconnect
▸ disconnect(): Promise<void>
Disconnects this client from the SignalWire Realtime API. The client will stop receiving events and you will need to call connect() to reconnect.
Returns
Promise<void> - Resolves when the connection is closed.