load() {
    return new Promise((resolve) => {
      const id = (++this.lastRequestId);
      this.promises.push({
        type: 'read',
        resolve,
        id
      });
      ipcRenderer.send('read-app-preferences', id);
    });
  }
/**
   * Loads application settings from the main thread.
   * @return {Promise}
   */
Loads application settings from the main thread.
@return {Promise}
Loads application settings from the main thread . @return { Promise }
load() {
    return new Promise((resolve) => {
      const id = (++this.lastRequestId);
      this.promises.push({
        type: 'read',
        resolve,
        id
      });
      ipcRenderer.send('read-app-preferences', id);
    });
  }
load ( ) { return new Promise ( ( resolve ) => { const id = ( ++ this . lastRequestId ) ; this . promises . push ( { type : 'read' , resolve , id } ) ; ipcRenderer . send ( 'read-app-preferences' , id ) ; } ) ; }
Loads application settings from the main thread.
Loads application settings from the main thread .