Fork me on GitHub
#core-async
<
2016-12-09
>
genRaiy15:12:44

@terje oh … is the tap not ready after the call returns?

genRaiy16:12:25

so just to reiterate - no messages are being dropped if I call tap on a ‘global’ mult and then put! … but messages are dropped if I create a mult locally in the function … doesn’t make any sense to me

genRaiy16:12:25

in both cases I am assuming that mult and tap finish their work in hooking up the channels before returning - it would be crazy if that was wrong, no?

terje22:12:59

To avoid silently dropped messages, the mult should be called with a new channel that after the tap is connected to events-ch using pipe.