UNPKG

streams

Version:

A lazy streams library for functional composition in JavaScript.

8 lines (7 loc) 187 B
import { IteratorStream } from "../iterator-stream"; declare global { interface IteratorObject<T> { stream(): IteratorStream<T>; toAsync(): AsyncGenerator<T>; } }