import { AnyEvent } from "../_interfaces"; import { EventStream } from "../EventStream"; import { TimerBase } from "./_timer"; /** * Creates an EventStream containing the given values emitted * with the given interval. * * @param interval - Interval in milliseconds * @param events - Events to emit * @returns Some shit * * @example * * const numEvery100ms = F.sequentially(100, [1, 2, 3]) * * @public */ export declare const sequentially: CurriedSequentially; interface CurriedSequentially { (interval: number, events: Array>): EventStream; (interval: number): (events: Array>) => EventStream; } export declare class Sequentially extends TimerBase { protected readonly items: Array>; protected i: number; constructor(interval: number, items: Array>); tick(): Array>; } export {};