MCPcopy Create free account
hub / github.com/HumeAI/hume-api-examples / on_close

Method on_close

evi/evi-python-function-calling/main.py:156–158  ·  view source on GitHub ↗

Logic invoked when the WebSocket connection is closed.

(self)

Source from the content-addressed store, hash-verified

154 print("")
155
156 async def on_close(self):
157 """Logic invoked when the WebSocket connection is closed."""
158 print("WebSocket connection closed.")
159
160 async def on_error(self, error):
161 """Logic invoked when an error occurs in the WebSocket connection.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected