writeLastUpdateTime() {
        this.logger.info('Writing last price update time');
        try {
            fs.writeFileSync(LAST_UPDATE_INFO_FILE, String(this.lastUpdate), 'utf-8');
        } catch (err) {
            this.logger.error('Unable to write update time');
            this.logger.error(err);
        }
    }
/**
     * Saves last update timestamp to file.
     */
Saves last update timestamp to file.
Saves last update timestamp to file .
writeLastUpdateTime() {
        this.logger.info('Writing last price update time');
        try {
            fs.writeFileSync(LAST_UPDATE_INFO_FILE, String(this.lastUpdate), 'utf-8');
        } catch (err) {
            this.logger.error('Unable to write update time');
            this.logger.error(err);
        }
    }
writeLastUpdateTime ( ) { this . logger . info ( 'Writing last price update time' ) ; try { fs . writeFileSync ( LAST_UPDATE_INFO_FILE , String ( this . lastUpdate ) , 'utf-8' ) ; } catch ( err ) { this . logger . error ( 'Unable to write update time' ) ; this . logger . error ( err ) ; } }
Saves last update timestamp to file.
Saves last update timestamp to file .