UNPKG

baconjs

Version:

A small functional reactive programming lib for JavaScript.

9 lines (7 loc) 307 B
import { EventStream } from "./observable"; /** Creates a stream that ends after given amount of milliseconds, without emitting any values. @param duration duration of silence in milliseconds @typeparam V Type of stream elements */ export default function silence<V>(duration: number): EventStream<V>;