disconnect Method
This method disconnects the class from the server.
Syntax
def disconnect() -> None: ...
Remarks
The disconnect method will send the disconnect command to the notification server. Upon disconnection, a on_disconnected event will be fired.