diff options
Diffstat (limited to 'python/websocketprovider.py')
| -rw-r--r-- | python/websocketprovider.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/websocketprovider.py b/python/websocketprovider.py index 0a143562..c87cc384 100644 --- a/python/websocketprovider.py +++ b/python/websocketprovider.py @@ -141,7 +141,7 @@ class WebsocketClient(object): def connect(self, url, headers=None, on_connected=nop, on_disconnected=nop, on_error=nop, on_data=nop): """ Connect to a given url, asynchronously. The connection will be run in a separate thread managed by the websocket provider. - Client callbacks are set according to whichever on_ callback parameters you pass. + Client callbacks are set according to whichever on\_ callback parameters you pass. Callbacks will be called **on the thread of the connection**, so be sure to execute_on_main_thread any long-running or gui operations in the callbacks. |
