Gozala/streamer — pull request #6 by tonyskn (2011-11-20 12:17:06+00:00)
Title: Fix bug in 'join'

Do not open extra streams if join-ed stream has been stopped or
interrupted

For example:

```js
var _ = require('./core.js');

var one = function(next, stop) {
console.log(">>> Opening 1");
[1,2,3,4].forEach(next);
stop();
};

var two = function(next, stop) {
console.log(">>> Opening 2");
[5,6,7,8].forEach(next);
stop();
};

_.print( _.head( _.join(_.list(one, two)), 3 ) );
```

produces the following (prior to fix):

```
>>
>>> Opening 1
1
2
3
<<
>>> Opening 2
```