https://github.com/soarez/funil
agregate multiple streams into a single one
https://github.com/soarez/funil
Last synced: over 1 year ago
JSON representation
agregate multiple streams into a single one
- Host: GitHub
- URL: https://github.com/soarez/funil
- Owner: soarez
- Created: 2015-03-26T18:36:32.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-08-20T19:31:23.000Z (almost 11 years ago)
- Last Synced: 2025-02-18T03:14:55.384Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 146 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# funil
a stream that aggegates other streams
```javascript
var Funil = require('./funil');
var f = new Funil();
f.add(streamA);
f.add(streamB);
f.add(streamC);
f.add(streamD);
f.on('data', function(d) { /* d can be from either one of the streams */ });
```