UNPKG

402 BTypeScriptView Raw
1import { AsyncIterableX } from './asynciterablex';
2/**
3 * Produces a new item in an async-iterable at the given interval cycle time.
4 *
5 * @export
6 * @param {number} dueTime The due time in milliseconds to spawn a new item.
7 * @returns {AsyncIterableX<number>} An async-iterable producing values at the specified interval.
8 */
9export declare function interval(dueTime: number): AsyncIterableX<number>;