Skip to content

Commit a64bd19

Browse files
misc changes
1 parent d995e72 commit a64bd19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/resource_management.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export interface AsyncDisposable {
3434
* await using client = new MongoClient(...);
3535
* ```
3636
*/
37-
export function load() {
37+
export function configureExplicitResourceManagement() {
3838
Symbol.asyncDispose &&
3939
(MongoClient.prototype[Symbol.asyncDispose] = async function () {
4040
await this.close();

0 commit comments

Comments
 (0)