Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/socketio/socket.io
/ onClose
Function
onClose
packages/engine.io/lib/transport.ts:173–176 ·
view source on GitHub ↗
* Called upon transport close. * * @protected
()
Source
from the content-addressed store, hash-verified
171
* @protected
172
*/
173
protected onClose() {
174
this.readyState =
"closed"
;
175
this.emit(
"close"
);
176
}
177
178
/**
179
* The name of the transport.
Callers
2
doClose
Method · 0.50
doClose
Method · 0.50
Calls
1
emit
Method · 0.65
Tested by
no test coverage detected