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) 211 B
/** * Maps the source objects to their values at the path specified */ export declare function pluck<TFrom, TTo = any>(...path: string[]): (source: AsyncIterable<TFrom>) => AsyncGenerator<TTo, void, unknown>;