parallel-transformx

1.0.4 • Public • Published

parallel-transformx

Parallel transform for streamx

npm install parallel-transformx

Usage

const ParallelTransform = require('parallel-transformx')

const s = new ParallelTransform({
  // will run the transform in parallel.
  // at max highWaterMark parallel transforms will happen
  transform (data, cb) {
    doStuff(data, function (err, res) {
      cb(err, res)
    })
  }
})

License

MIT

/parallel-transformx/

    Package Sidebar

    Install

    npm i parallel-transformx

    Weekly Downloads

    18

    Version

    1.0.4

    License

    MIT

    Unpacked Size

    4.38 kB

    Total Files

    5

    Last publish

    Collaborators

    • mafintosh