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) 167 B
export declare function last<T>(gen: Generator<T, void>): T | undefined; export declare function lastAsync<T>(gen: AsyncGenerator<T, void>): Promise<T | undefined>;