UNPKG

@augment-vir/common

Version:

A collection of augments, helpers types, functions, and classes for any JavaScript environment.

8 lines (7 loc) 244 B
/** * Convert an async iterator or async iterable into an array. * * @category Array * @category Package : @augment-vir/common */ export declare function fromAsyncIterable<T>(asyncInput: AsyncIterable<T> | AsyncIterator<T>): Promise<T[]>;