node_modules/.cache/esm/37ab45f87abedcda.js
/**
 * Logout user from server, fire off on all connections and remove all auth info.
 *
 * @method
 * @param {MongoClient} mongoClient The MongoClient instance on which to logout.
 * @param {object} [options] Optional settings. See MongoClient.prototype.logout for a list of options.
 * @param {Db~resultCallback} [callback] The command result callback
 */
Logout user from server, fire off on all connections and remove all auth info.
@method
@param {MongoClient} mongoClient The MongoClient instance on which to logout.
@param {object} [options] Optional settings. See MongoClient.prototype.logout for a list of options.
@param {Db~resultCallback} [callback] The command result callback
Logout user from server fire off on all connections and remove all auth info . @method @param { MongoClient } mongoClient The MongoClient instance on which to logout . @param { object } [ options ] Optional settings . See MongoClient . prototype . logout for a list of options . @param { Db~resultCallback } [ callback ] The command result callback
function logout(mongoClient, dbName, callback) {
  mongoClient.topology.logout(dbName, err => {
    if (err) return callback(err);
    callback(null, true);
  });
}
function logout ( mongoClient , dbName , callback ) { mongoClient . topology . logout ( dbName , err => { if ( err ) return callback ( err ) ; callback ( null , true ) ; } ) ; }
Logout user from server, fire off on all connections and remove all auth info.
Logout user from server fire off on all connections and remove all auth info .