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

7 lines
292 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 = asyncScheduler) {
return sample(interval(period, scheduler));
}
//# sourceMappingURL=sampleTime.js.map