MCPcopy Create free account
hub / github.com/0x676e67/wreq-python / close_ws

Function close_ws

python/examples/blocking/ws.py:44–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42 receive_task.start()
43
44 def close_ws():
45 stop_event.set()
46 ws.close()
47 send_task.join()
48 receive_task.join()
49
50 def signal_handler(sig, frame):
51 close_ws()

Callers 1

signal_handlerFunction · 0.70

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected