hugoWebsite/node_modules/rxjs/dist/esm5/internal/operators/sampleTime.js

8 lines
337 B
JavaScript
Raw Normal View History

2022-10-29 00:20:35 +02:00
import { asyncScheduler } from '../scheduler/async';
import { sample } from './sample';
import { interval } from '../observable/interval';
export function sampleTime(period, scheduler) {
if (scheduler === void 0) { scheduler = asyncScheduler; }
return sample(interval(period, scheduler));
}
//# sourceMappingURL=sampleTime.js.map