You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a dependent stream with map(), calling .end(true) on that stream does not work if there is more than 1 stream up the chain.
Expected Behavior
Calling .end(true) on a stream should work when there is more than 1 stream up the chain. See this flyd example and notice that in both cases, "three" is not logged.
Sometimes when creating a stream that "listens" to another stream, it is desirable at some point in the lifetime of the application to "stop listening". This should be possible using .end(true), even if there is more than 1 stream up the chain.
The text was updated successfully, but these errors were encountered:
porsager
added a commit
to porsager/mithril.js
that referenced
this issue
Aug 8, 2018
When creating a dependent stream with
map()
, calling.end(true)
on that stream does not work if there is more than 1 stream up the chain.Expected Behavior
Calling
.end(true)
on a stream should work when there is more than 1 stream up the chain. See this flyd example and notice that in both cases,"three"
is not logged.Current Behavior
See this same example with mithril-stream, in the second case,
"three"
is logged when it should not be.Context
Sometimes when creating a stream that "listens" to another stream, it is desirable at some point in the lifetime of the application to "stop listening". This should be possible using
.end(true)
, even if there is more than 1 stream up the chain.The text was updated successfully, but these errors were encountered: