I have a number of production apps that depend on Bacon and have held off migrating from v1 for a while. I read the transition notes, reviewed the API docs and just gave it a go.
Mostly things migrate ok, but I have one app which uses a combineWith chain to perform logical transitions on incoming events. Like this, only the tree is a little deeper.
Bus-> }
Bus-> } combineWith() --->}
Bus-> } } combineWith() ->
}
Bus-> } combineWith() --->}
Bus-> }
In Bacon 1 this works as one would expect: an event on a Bus triggers the first combineWith() consumer and trickles on through. I have the stream instrumented
with doAction() calls for debug purposes and can see it happening.
In Bacon 3 I see the triggering events. Sometimes I see events passing through
the first level of combineWith() and less frequently I see events passing through
the second level.
If I revert to 1.0.1 everything works again as I would expect.
So. Most likely, something is different in v3 and I have missed the transition note re changes. Or, unlikely, something is broken in v3.
Can anyone out there offer a pointer. It would be really helpful.
Thanks
P