-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Is your feature request related to a problem? Please describe.
Im working on a plugin, which requires long live connection, and experience a lot of natural disconnections:
Plugin works on SBC
Main system may and will be reset without reset/reboot SBC
It'll be good if we have some tools to check the connection status,
like is_connected method
Describe the solution you propose.
Have somethihng like
class BaseConnection:
def is_connected()->bool:
return connection->current_status
Describe alternatives you've considered
At the moment I workaround it with try except, but it mess the code
Another possible workaround - is open/close connection per every command/request, which may be resource consuming operation
Provide any additional context or information.
Ex. Photos, mockups, etc.
Metadata
Metadata
Assignees
Labels
No labels