Swap-Aggregator-Subgraph/node_modules/pull-stream/docs/throughs/async-map.md
Richa-iitr d211083153 Revert "Revert "added handler""
This reverts commit c36ee8c5ca.
2022-07-03 07:30:05 +05:30

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) }