disconnect
Cleanly close the WebSocket connection to SignalWire RELAY. This cancels the
internal ping loop, all pending JSON-RPC requests, any queued
requests waiting for reconnection, and any in-progress dial operations. The
client can be reconnected with
connect().
When using run(), disconnection happens
automatically on Ctrl+C or when a SIGTERM is received.
Parameters
None.
Returns
Promise<void>