UNPKG

344 BTypeScriptView Raw
1import { EventStream } from "./observable";
2/**
3 Repeats the single element indefinitely with the given interval (in milliseconds)
4
5 @param delay Repeat delay in milliseconds
6 @param value The single value to repeat
7 @typeparam V Type of stream elements
8 */
9export default function interval<V>(delay: number, value: V): EventStream<V>;