Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/bugy/script-server
/ isSocketActive
Function
isSocketActive
web-src/src/main-app/store/scriptExecutor.js:19–25 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
17
};
18
19
function
isSocketActive() {
20
if
(isNull(internalState.websocket)) {
21
return
false;
22
}
23
24
return
!isWebsocketClosed(internalState.websocket);
25
}
26
27
return
{
28
namespaced: true,
Callers
1
sendUserInput
Function · 0.85
Calls
2
isNull
Function · 0.90
isWebsocketClosed
Function · 0.90
Tested by
no test coverage detected