MCPcopy Create free account
hub / github.com/modelscope/FunASR / clear_websocket

Function clear_websocket

runtime/python/websocket/funasr_wss_server.py:336–339  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

334
335
336async def clear_websocket():
337 for websocket in list(websocket_users):
338 await ws_reset(websocket)
339 websocket_users.clear()
340
341
342async def ws_serve(websocket, path=None):

Callers

nothing calls this directly

Calls 2

ws_resetFunction · 0.85
clearMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…