Fork me on GitHub
#reagent
<
2017-09-25
>
reefersleep10:09:23

@p-himik is it not a case of doing when in the body?

reefersleep10:09:59

I’m not sure what you mean by “dispose”

reefersleep11:09:30

In the context of reagent, I mean

p-himik13:09:13

@reefersleep when would just skip doing something - it won't remove the reaction. I mean reagent.ratom/IDisposable which is implemented by reagent.ratom/Reaction type.

reefersleep15:09:33

That’s deeper territory than I’m comfortable with 🙂

reefersleep15:09:18

But it sounds like you want to wrap the normal ratoms with ones with custom behavior… ?

reefersleep15:09:36

Unless, like you proposed, it’s doable with the current API

p-himik17:09:23

It's doable. The only issue is that from the body function of a reaction I can't dispose of that reaction. So I have to create an external atom with such reaction. Either way, I found another solution for my problem, outside of Reagent. 🙂

reefersleep18:09:26

That's great! 😄