You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** @deprecated Callbacks are deprecated and will be removed in the next major version. See [mongodb-legacy](https://github.com/mongodb-js/nodejs-mongodb-legacy) for migration assistance */
254
-
endSession(callback: Callback<void>): void;
255
-
/** @deprecated Callbacks are deprecated and will be removed in the next major version. See [mongodb-legacy](https://github.com/mongodb-js/nodejs-mongodb-legacy) for migration assistance */
@@ -420,26 +404,16 @@ export class ClientSession extends TypedEventEmitter<ClientSessionEvents> {
420
404
421
405
/**
422
406
* Commits the currently active transaction in this session.
423
-
*
424
-
* @param callback - An optional callback, a Promise will be returned if none is provided
425
407
*/
426
-
commitTransaction(): Promise<Document>;
427
-
/** @deprecated Callbacks are deprecated and will be removed in the next major version. See [mongodb-legacy](https://github.com/mongodb-js/nodejs-mongodb-legacy) for migration assistance */
* Aborts the currently active transaction in this session.
435
-
*
436
-
* @param callback - An optional callback, a Promise will be returned if none is provided
437
414
*/
438
-
abortTransaction(): Promise<Document>;
439
-
/** @deprecated Callbacks are deprecated and will be removed in the next major version. See [mongodb-legacy](https://github.com/mongodb-js/nodejs-mongodb-legacy) for migration assistance */
0 commit comments