Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
336
async
def
clear_websocket():
337
for
websocket in list(websocket_users):
338
await ws_reset(websocket)
339
websocket_users.clear()
340
341
342
async
def
ws_serve(websocket, path=None):
Callers
nothing calls this directly
Calls
2
ws_reset
Function · 0.85
clear
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…