Function spacetimedb_sdk::disconnect
source · pub fn disconnect()
Expand description
Gracefully close the current WebSocket connection.
If there is no active connection, this operation does nothing.
pub fn disconnect()
Gracefully close the current WebSocket connection.
If there is no active connection, this operation does nothing.