dist/lib/driver.js
function logout() {
    return exports.asteroid.logout()
        .catch((err) => {
        log_1.logger.error('[Logout] Error:', err);
        throw err; // throw after log to stop async chain
    });
}
function logout() {
    return exports.asteroid.logout()
        .catch((err) => {
        log_1.logger.error('[Logout] Error:', err);
        throw err; // throw after log to stop async chain
    });
}
function logout ( ) { return exports . asteroid . logout ( ) . catch ( ( err ) => { log_1 . logger . error ( '[Logout] Error:' , err ) ; throw err ; // throw after log to stop async chain } ) ; }
Logout of Rocket.Chat via Asteroid
Logout of Rocket . Chat via Asteroid