Closed dm3 closed 8 years ago
The upstream closing behavior isn't immediate, it will only take effect when s1
tries to convey a message to s2
and fails because it's closed. I'l think about how to make the documentation clearer on this point.
I'm going to close this issue, but feel free to ask any further questions you have.
Thank you! Would be great if you could add that to the docs.
Also would be great if you could elaborate how the drained/closed states differ, maybe with some examples in the docs.
Given the following:
the test fails as
s1
is still open.According to the documentation of
connect
I would expect boths1
ands2
to be closed after closings2
, even without specifying theupstream?
flag ass2
is the only downstream sink. However, even when:upstream?
is true,s1
stays open.Could you please take a look if is either a gross misunderstanding on my side or a bug?