UNPKG

axax

Version:

A library of async iterator extensions for JavaScript including ```map```, ```reduce```, ```filter```, ```flatMap```, ```pipe``` and [more](https://github.com/jamiemccrindle/axax/blob/master/docs/API.md#functions).

5 lines (4 loc) 136 B
/** * Count the number of items in an async interable */ export declare function count<T>(source: AsyncIterable<T>): Promise<number>;