UNPKG

rubico

Version:

[a]synchronous functional programming

18 lines (17 loc) 355 B
export = setMap; /** * @name setMap * * @synopsis * ```coffeescript [specscript] * setMap< * T any, * value Set<T>, * mapper T=>Promise|any, * >(value, mapper) -> Promise|Set * ``` * * @description * Apply a mapper concurrently to each item of a set, returning a set of results. */ declare function setMap(set: any, mapper: any): any;