UNPKG

rubico

Version:

[a]synchronous functional programming

16 lines (15 loc) 408 B
export = reducerTryCatch; /** * @name reducerTryCatch * * @synopsis * ```coffeescript [specscript] * type Reducer = (accum any, item any)=>(nextAccumulator Promise|any) * * reducerTryCatch( * reducer function, * catcher function, * ) -> errorHandlingReducer function * ``` */ declare function reducerTryCatch(reducer: any, transducerTryer: any, catcher: any): (accum: any, item: any) => any;