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

8 lines
337 B
JavaScript
Raw Normal View History

2022-06-08 10:36:39 +00: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