UNPKG

@codibre/fluent-iterable

Version:

Provides LINQ-like fluent api operations for iterables and async iterables (ES2018+).

6 lines (5 loc) 383 B
import { AnyIterable } from 'augmentative-iterable'; import { AsyncReducer } from '../types/base'; import { ReduceAndMapIngredient } from './ingredients'; import { ResolverType } from '../types-internal'; export declare function reduceRecipe(reduceAndMap: ReduceAndMapIngredient, resolver: ResolverType): <T, R>(this: AnyIterable<T>, reducer: AsyncReducer<T, R>, initial: R) => any;