writeUserValue(key, value) {
    //Create a delegate function to always use
    let delegate = this._settings_delegates[key];
    if(!delegate) {
      delegate = this._settings_delegates[key] = function() {
        let _key = key,
          _value = this._settings_delegates[_key]._latestValue;
        delete this._settings_delegates[_key];
        this.writeUserValueImmediate(_key, _value);
      };
    }

    this._settings_delegates[key]._latestValue = value;

    debounce(this, delegate, this.get('writeWaitTime') || 500);
  }
/**
   * Writes a key-value-pair on the server where the value is a simple value (debounced)
   * @param key
   * @param value
   */
Writes a key-value-pair on the server where the value is a simple value (debounced)
@param key
@param value
Writes a key - value - pair on the server where the value is a simple value ( debounced ) @param key @param value
writeUserValue(key, value) {
    let delegate = this._settings_delegates[key];
    if(!delegate) {
      delegate = this._settings_delegates[key] = function() {
        let _key = key,
          _value = this._settings_delegates[_key]._latestValue;
        delete this._settings_delegates[_key];
        this.writeUserValueImmediate(_key, _value);
      };
    }
    this._settings_delegates[key]._latestValue = value;
    debounce(this, delegate, this.get('writeWaitTime') || 500);
  }
writeUserValue ( key , value ) { let delegate = this . _settings_delegates [ key ] ; if ( ! delegate ) { delegate = this . _settings_delegates [ key ] = function ( ) { let _key = key , _value = this . _settings_delegates [ _key ] . _latestValue ; delete this . _settings_delegates [ _key ] ; this . writeUserValueImmediate ( _key , _value ) ; } ; } this . _settings_delegates [ key ] . _latestValue = value ; debounce ( this , delegate , this . get ( 'writeWaitTime' ) || 500 ) ; }
Writes a key-value-pair on the server where the value is a simple value (debounced)
 @param key
 @param value
Writes a key - value - pair on the server where the value is a simple value ( debounced ) @param key @param value
//Create a delegate function to always use