Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/segment-boneyard/concurrent-transform
Add some concurrency to a transform stream.
https://github.com/segment-boneyard/concurrent-transform
Last synced: about 5 hours ago
JSON representation
Add some concurrency to a transform stream.
- Host: GitHub
- URL: https://github.com/segment-boneyard/concurrent-transform
- Owner: segment-boneyard
- Created: 2014-02-08T03:15:43.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-12-11T23:33:22.000Z (almost 9 years ago)
- Last Synced: 2024-10-31T18:58:51.301Z (15 days ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 24
- Watchers: 41
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- Changelog: History.md
Awesome Lists containing this project
README
# concurrent-transform
Adds some concurrency to a transform stream for that multiple items may be transformed at once. **DOES NOT GUARANTEE ORDER**.
## Usage
```js
var parallel = require('concurrent-transform');readable
.pipe(parallel(transform, 100)) // process 100 messages at once
.pipe(writable);
```## License
(The MIT License)
Copyright (c) 2014 Segment <[email protected]>
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.