code: function (key, value) {
  				var pSet, oMsr = startMeasurements("set", key);
  				Log.debug("Cache Manager: Setting value of type[" + typeof value + "] with key [" + key + "]");
  
  				pSet = this._callInstanceMethod("set", arguments).then(function callInstanceHandler() {
  					Log.debug("Cache Manager: Setting key [" + key + "] completed successfully");
  					oMsr.endAsync();
  					//nothing to return, just logging.
  				}, function (e) {
  					Log.error("Cache Manager: Setting key [" + key + "] failed. Error:" + e);
  					oMsr.endAsync();
  					throw e;
  				});
  				oMsr.endSync();
  				return pSet;
  			}
docs: Stores or updates value for given key.
  @param {string|number} key the key to associate the value with. Null is not accepted
  @param {*} value any value that match the structured clone algorithm. Undefined is not accepted.
  @see https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm
  @returns {Promise} a promise that would be resolved in case of successful operation or rejected with
  value of the error message if the operation fails.
  @public