aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/rxjs/dist/esm5/internal/observable/interval.js
blob: 6944be4cb6a5daf68d7311468bf2a6c557baa9b4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
import { asyncScheduler } from '../scheduler/async';
import { timer } from './timer';
export function interval(period, scheduler) {
    if (period === void 0) { period = 0; }
    if (scheduler === void 0) { scheduler = asyncScheduler; }
    if (period < 0) {
        period = 0;
    }
    return timer(period, period, scheduler);
}
//# sourceMappingURL=interval.js.map
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage