original_docstring: Static callback to handle on_disconnect event
docstring: Static callback to handle on_disconnect event
docstring_tokens: Static callback to handle on_disconnect event
code: def on_disconnect(client, userdata, return_code):
          """Static callback to handle on_disconnect event"""
          if return_code:
              raise DisconnectionError(return_code)
  
          userdata.disconnected.put_nowait(True)
code_tokens: def on_disconnect ( client , userdata , return_code ) : if return_code : raise DisconnectionError ( return_code ) userdata . disconnected . put_nowait ( True )
short_docstring: Static callback to handle on_disconnect event
short_docstring_tokens: Static callback to handle on_disconnect event
comment: """Static callback to handle on_disconnect event"""