MCPcopy
hub / github.com/SnapDrop/snapdrop / _isConnected

Method _isConnected

client/scripts/network.js:83–85  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

81 }
82
83 _isConnected() {
84 return this._socket && this._socket.readyState === this._socket.OPEN;
85 }
86
87 _isConnecting() {
88 return this._socket && this._socket.readyState === this._socket.CONNECTING;

Callers 2

_connectMethod · 0.95
sendMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected