Open brian-gates opened 9 years ago
Sounds a bit like #104.
One note, this is a bug, but not in the way that you have specified.
The proper test case shouldn't have generator.resume()
in it, since calling resume
on a stream with no consumers will completely drain it, which leaves nothing to redirect to in otherwise
.
In the below snippet, I expect both the generator and otherwise 'end' events to fire, but only the generator's ever does.