UNPKG

rxjs

Version:

Reactive Extensions for modern JavaScript

7 lines 292 B
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