Fork me on GitHub
#liberator
<
2016-03-28
>
ordnungswidrig14:03:46

@martinklepsch: wrapping the handler created by liberator is fine. Since 0.13 there’s :initialize-context where you could assoc anything into the context before the decision graph kicks off, however, there’s no "cleanup-hook“ in liberator.

ordnungswidrig14:03:15

@martinklepsch: actually having a „cleanup“ or „finally“ callback may be a good idea. You can file a github issue for that if you like, however, I will not have the time to implement it myself, anytime soon.

martinklepsch15:03:25

@ordnungswidrig: thanks, I'm using initialize context but as you said the lack of a way to cleanup is a problem. I'll try wrapping the returned handler and open an issue/pr for the finally step if that isn't doing what I need