mirror of
https://github.com/Instadapp/Swap-Aggregator-Subgraph.git
synced 2024-07-29 21:57:12 +00:00
222 B
222 B
pull-stream/throughs/async-map
usage
asyncMap = require('pull-stream/throughs/async-map')
asyncMap(fn)
Like map but the signature of fn must be
function (data, cb) { cb(null, data) }