Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/mongodb/node-mongodb-native
/ onClose
Method
onClose
src/cmap/connection.ts:321–324 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
319
}
320
321
private onClose() {
322
const
message = `connection ${this.id} to ${this.address} closed`;
323
this.cleanup(
new
MongoNetworkError(message));
324
}
325
326
private onTimeout() {
327
this.delayedTimeoutId = setTimeout(() => {
Callers
nothing calls this directly
Calls
1
cleanup
Method · 0.95
Tested by
no test coverage detected