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) 177 B
export declare const head: <T>(gen: Generator<T, void, unknown>) => void | T; export declare const headAsync: <T>(gen: AsyncGenerator<T, void, unknown>) => Promise<void | T>;