MCPcopy Create free account
hub / github.com/nodejs/node / isEstablished

Function isEstablished

deps/undici/undici.js:14857–14859  ·  view source on GitHub ↗
(readyState)

Source from the content-addressed store, hash-verified

14855 }
14856 __name(isConnecting, "isConnecting");
14857 function isEstablished(readyState) {
14858 return readyState === states.OPEN;
14859 }
14860 __name(isEstablished, "isEstablished");
14861 function isClosing(readyState) {
14862 return readyState === states.CLOSING;

Callers 4

closeWebSocketConnectionFunction · 0.70
failWebsocketConnectionFunction · 0.70
sendMethod · 0.70
pingMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected