MCPcopy
hub / github.com/mongodb/node-mongodb-native / [Symbol.asyncDispose]

Method [Symbol.asyncDispose]

src/mongo_client.ts:487–489  ·  view source on GitHub ↗

* An alias for {@link MongoClient.close|MongoClient.close()}.

()

Source from the content-addressed store, hash-verified

485 * An alias for {@link MongoClient.close|MongoClient.close()}.
486 */
487 async [Symbol.asyncDispose]() {
488 await this.close();
489 }
490
491 /**
492 * Append metadata to the client metadata after instantiation.

Callers

nothing calls this directly

Calls 1

closeMethod · 0.95

Tested by

no test coverage detected