Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/developit/asyncro
/ map
Function
map
src/util.js:3–5 ·
view source on GitHub ↗
(array, mapper)
Source
from the content-addressed store, hash-verified
1
2
/** @private */
3
export
function
map(array, mapper) {
4
return
Promise.all(array.map(mapper));
5
}
6
7
/** Invoke a list (object or array) of functions, returning their results in the same structure.
8
* @private
Callers
2
index.js
File · 0.90
baseMap
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected