File: async-map.md

package info (click to toggle)
node-rollup-plugin-node-polyfills 0.2.1%2Bdfsg%2B~0.11.0-1%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,748 kB
  • sloc: javascript: 33,166; makefile: 5
file content (10 lines) | stat: -rw-r--r-- 222 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
# 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) }`