Fork me on GitHub
#reagent
<
2017-09-24
>
p-himik11:09:24

In Reagent, is there any way to dispose! of a reaction created by make-reaction or run! inside the body function?

p-himik11:09:25

I'm trying to make BokehJS and re-frame friends. For that, I need some way to pass the changes from one to another. BokehJS has events, so I can dispatch. re-frame has subscriptions, so I can alter BokehJS models. The issue is that the models can sometimes be removed, which would case a reaction's body to fail. On that fail, I want to dispose of that reaction.