async function() {
      log.debug("saving generator database");
      this.fireDataEvent("saveDatabase", this.__db);
      await qx.tool.compiler.utils.Json.saveJsonAsync(this.getDbFilename(), this.__db)
        .then(() => this.__resManager && this.__resManager.saveDatabase());
    }
async function() {
      log.debug("saving generator database");
      this.fireDataEvent("saveDatabase", this.__db);
      await qx.tool.compiler.utils.Json.saveJsonAsync(this.getDbFilename(), this.__db)
        .then(() => this.__resManager && this.__resManager.saveDatabase());
    }
async function ( ) { log . debug ( "saving generator database" ) ; this . fireDataEvent ( "saveDatabase" , this . __db ) ; await qx . tool . compiler . utils . Json . saveJsonAsync ( this . getDbFilename ( ) , this . __db ) . then ( ( ) => this . __resManager && this . __resManager . saveDatabase ( ) ) ; }
Saves the database
Saves the database