(websocket)
| 322 | |
| 323 | |
| 324 | async def ws_reset(websocket): |
| 325 | print("ws reset now, total num is ", len(websocket_users)) |
| 326 | |
| 327 | websocket.status_dict_asr_online["cache"] = {} |
| 328 | websocket.status_dict_asr_online["is_final"] = True |
| 329 | websocket.status_dict_vad["cache"] = {} |
| 330 | websocket.status_dict_vad["is_final"] = True |
| 331 | websocket.status_dict_punc["cache"] = {} |
| 332 | |
| 333 | await websocket.close() |
| 334 | |
| 335 | |
| 336 | async def clear_websocket(): |
no test coverage detected
searching dependent graphs…