MCPcopy
hub / github.com/mongodb/node-mongodb-native / connectInternalClient

Method connectInternalClient

src/encrypter.ts:90–96  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

88 }
89
90 async connectInternalClient(): Promise<void> {
91 const internalClient = this.internalClient;
92 if (this.needsConnecting && internalClient != null) {
93 this.needsConnecting = false;
94 await internalClient.connect();
95 }
96 }
97
98 async close(client: MongoClient): Promise<void> {
99 let error;

Callers 1

_connectMethod · 0.80

Calls 1

connectMethod · 0.45

Tested by

no test coverage detected