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

11 lines
222 B
Markdown

# pull-stream/throughs/async-map
## usage
### `asyncMap = require('pull-stream/throughs/async-map')`
### `asyncMap(fn)`
Like [`map`](./map.md) but the signature of `fn` must be
`function (data, cb) { cb(null, data) }`