docs: function getTargetResult(saveTarget, ...props) {
      try {
          let result = (typeof saveTarget === 'function') ? saveTarget(...props) : saveTarget;
          return Promise.resolve(result);
      } catch (e) {
          return Promise.reject(e);
      }
  }