caolan / caolan/highland

Redirected streams do not send nil

Open
#41 4 comments 0 reactions 1 assignee Claimed by @vqvu View on GitHub
bug
Dominant language
JavaScript
Stars
3.4k
Forks
145
PR merge metrics
No merged PRs in 30d

Description

See this example:

```
var s1 = highland([1]);
var s2 = highland([2]);

var out = s1.concat(s2);

out.toArray(function(arr) { console.log(arr); }); // [ 1, 2 ]
console.log(s1.ended); // true
console.log(s2.ended); // true
console.log(out.ended); // undefined - expected true?
```

I was expecting that `out.ended` would also be true, since both its sources have ended?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.