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