text: "use strict";
  Object.defineProperty(exports, "__esModule", { value: true });
  exports.startWithDeferred = void 0;
  const rxjs_1 = require("rxjs");
  function startWithDeferred(factory, scheduler) {
      return (source) => rxjs_1.concat(rxjs_1.defer(() => {
          const value = factory();
          return scheduler ? rxjs_1.of(value, scheduler) : rxjs_1.of(value);
      }), source);
  }
  exports.startWithDeferred = startWithDeferred;
  //# sourceMappingURL=startWithDeferred.js.map