Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/socketio/socket.io
/ close
Function
close
packages/socket.io/test/namespaces.ts:162–164 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
160
--total || close();
161
});
162
function
close() {
163
s.disconnect(true);
164
}
165
});
166
167
it(
"should fire a `disconnecting` event just before leaving all rooms"
, (done) => {
Callers
1
namespaces.ts
File · 0.70
Calls
1
disconnect
Method · 0.45
Tested by
no test coverage detected