Fork me on GitHub

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


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.