UNPKG

ramda-generators

Version:

A collection of lazily evaluated generators and functions to work with generators in Javascript and Typescript, following the style of Ramda's functions

3 lines (2 loc) 165 B
export declare function takeAll<T>(generator: Generator<T, void>): T[]; export declare function takeAllAsync<T>(generator: AsyncGenerator<T, void>): Promise<T[]>;