code: function (errorFactory) {
      if (errorFactory === void 0) {
          errorFactory = defaultErrorFactory;
      }
      return Object(_tap__WEBPACK_IMPORTED_MODULE_0__["tap"])({
          hasValue: false,
          next: function () { this.hasValue = true; },
          complete: function () {
              if (!this.hasValue) {
                  throw errorFactory();
              }
          }
      });
  }
docs: PURE_IMPORTS_START _tap,_util_EmptyError PURE_IMPORTS_END