UNPKG

iterama

Version:

Composable functional (async) iterable helpers

2 lines (1 loc) 150 B
export declare const toObjectAsync: <K extends string | number | symbol, V>(iterable: AsyncIterable<readonly [K, V]>) => Promise<{ [key in K]: V; }>;