merge-stream
Advanced tools
Comparing version 0.1.7 to 0.1.8
@@ -12,2 +12,3 @@ 'use strict'; | ||
output.add = add | ||
output.isEmpty = isEmpty | ||
@@ -32,2 +33,6 @@ output.on('unpipe', remove) | ||
function isEmpty () { | ||
return sources.length == 0; | ||
} | ||
function remove (source) { | ||
@@ -34,0 +39,0 @@ sources = sources.filter(function (it) { return it !== source }) |
{ | ||
"name": "merge-stream", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"description": "Create a stream that emits events from multiple other streams", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
1935
29