Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/socketio/socket.io
/ doClose
Method
doClose
packages/engine.io/lib/transports/websocket.ts:108–112 ·
view source on GitHub ↗
(fn?: () => void)
Source
from the content-addressed store, hash-verified
106
};
107
108
doClose(fn?: () => void) {
109
debug(
"closing"
);
110
this.socket.close();
111
fn && fn();
112
}
113
}
Callers
nothing calls this directly
Calls
3
debug
Function · 0.85
fn
Function · 0.85
close
Method · 0.45
Tested by
no test coverage detected