Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/runhey/OnmyojiAutoScript
/ __init__
Method
__init__
module/server/script_websocket.py:8–9 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
6
class
ScriptWSManager:
7
8
def
__init__(self):
9
self.active_connections: list[WebSocket] = []
10
11
async
def
connect(self, ws: WebSocket):
12
# 等待连接
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected