Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/freecodexyz/free-code
/ isConnected
Method
isConnected
src/remote/SessionsWebSocket.ts:362–364 ·
view source on GitHub ↗
* Check if connected
()
Source
from the content-addressed store, hash-verified
360
* Check
if
connected
361
*/
362
isConnected(): boolean {
363
return
this.state ===
'connected'
364
}
365
366
/**
367
* Close the WebSocket connection
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected