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
var a = Kefir.constant(1)
var merge = Kefir.merge([a, a])
merge.onValue()
The output will be 1, 1, end
Now, if I do this:
var a = Kefir.constant(1)
var merge1 = Kefir.merge([a])
var merge2 = Kefir.merge([merge1, merge1])
merge2.onValue()
The output will be 1 and the stream will end and I don't understand why. In my opinion, the first and the second example should work the same and produce: 1, 1, end.
The example above is simplified, but in my real code I have one input stream which I filter in different ways and then merge again, but the core of the problem is what I wrote above.
The text was updated successfully, but these errors were encountered:
So, if I do something like this:
The output will be 1, 1, end
Now, if I do this:
The output will be 1 and the stream will end and I don't understand why. In my opinion, the first and the second example should work the same and produce: 1, 1, end.
The example above is simplified, but in my real code I have one input stream which I filter in different ways and then merge again, but the core of the problem is what I wrote above.
The text was updated successfully, but these errors were encountered: