Closed kevinbarabash closed 8 years ago
Do you subscribe to both streams? The callback that you're passing to Kefir.stream()
is called when stream gets the first subscriber. With this code alone none will be called actually.
That was the problem. Thanks for the quick response. Also, kefir is awesome. I always wanted to use frp, but I couldn't justify the size of rxjs.
Only the
this.emitterA
gets set. I put a breakpoint inside both callbacks toKefir.stream
, but only the first gets called. My expectation is that both would get called.