liberator

ordnungswidrig 2016-03-28T14:43:46.000012Z

@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.

ordnungswidrig 2016-03-28T14:45:15.000014Z

@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.

martinklepsch 2016-03-28T15:56:25.000015Z

@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