MCPcopy 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

sendUserInputFunction · 0.85

Calls 2

isNullFunction · 0.90
isWebsocketClosedFunction · 0.90

Tested by

no test coverage detected