MCPcopy Index your code
hub / github.com/SkyworkAI/DeepResearchAgent / on_close

Function on_close

tests/test_binance.py:51–52  ·  view source on GitHub ↗
(ws)

Source from the content-addressed store, hash-verified

49 print(f"[Spot] Error: {error}")
50
51 def on_close(ws):
52 print("[Spot] WebSocket closed")
53
54 def on_open(ws):
55 print("[Spot] WebSocket opened")

Callers

nothing calls this directly

Calls 1

printFunction · 0.85

Tested by

no test coverage detected