Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Dart-Code/Dart-Code
/ clear
Function
clear
src/shared/utils/ws.ts:25–29 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
23
}, pingInterval).unref();
24
25
const
clear = () => {
26
clearInterval(timer);
27
socket.removeListener(
"close"
, clear);
28
socket.removeListener(
"error"
, clear);
29
};
30
31
socket.on(
"close"
, clear);
32
socket.on(
"error"
, clear);
Callers
1
startPinging
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected