import { asyncScheduler } from "../scheduler/async.mjs";
import { timer } from "../observable/timer.mjs";
import { throttle } from "./throttle.mjs";

//#region ../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/operators/throttleTime.js
function throttleTime(duration, scheduler, config) {
	if (scheduler === void 0) scheduler = asyncScheduler;
	var duration$ = timer(duration, scheduler);
	return throttle(function() {
		return duration$;
	}, config);
}

//#endregion
export { throttleTime };
//# sourceMappingURL=throttleTime.mjs.map