rubico
Version:
[a]synchronous functional programming
15 lines (14 loc) • 354 B
TypeScript
export = asyncIteratorReduce;
/**
* @name asyncIteratorReduce
*
* @synopsis
* ```coffeescript [specscript]
* asyncIteratorReduce(
* asyncIterator AsyncIterator<T>,
* reducer (any, T)=>Promise|any,
* result any,
* ) -> result any
* ```
*/
declare function asyncIteratorReduce(asyncIterator: any, reducer: any, result: any): Promise<any>;