Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BUPT-GAMMA/MASFactory
/ sendJson
Method
sendJson
masfactory-visualizer/src/runtime/wsServer.ts:122–124 ·
view source on GitHub ↗
(value: unknown)
Source
from the content-addressed store, hash-verified
120
}
121
122
public sendJson(value: unknown): void {
123
this.sendText(JSON.stringify(value));
124
}
125
126
public close(code = 1000, reason =
''
): void {
127
if
(this.closed) {
return
;}
Callers
4
subscribe
Method · 0.80
sendHumanResponse
Method · 0.80
unsubscribe
Method · 0.80
releaseSubscriber
Method · 0.80
Calls
1
sendText
Method · 0.95
Tested by
no test coverage detected