UNPKG

better-npm-init

Version:

A better version of npm init, with templates and more. Usage: better-npm-init <template> [--yarn] [--install] [--git] [--yes] [--help]

8 lines 399 B
import { asyncScheduler } from '../scheduler/async'; import { defaultThrottleConfig, throttle } from './throttle'; import { timer } from '../observable/timer'; export function throttleTime(duration, scheduler = asyncScheduler, config = defaultThrottleConfig) { const duration$ = timer(duration, scheduler); return throttle(() => duration$, config); } //# sourceMappingURL=throttleTime.js.map