resolveMatching(regex) {
    Object.keys(this._pendingRequests).forEach(pendingRequestId => {
      if (regex.test(pendingRequestId)) {
        this.resolve(pendingRequestId);
      }
    });
  }
Resolves the promise of pending requests that match the given regex
@param { RegExp } regex an regular expression to match store entries