You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@3noch have you tried e.g. enter (Nat runResourceT) yourHandlers? The #676 would solve it from the inside of servant, but AFAICS enter (Nat runResourceT) should work?
Also Handler is now MonadBaseControl IO, so you can always use that (already with current servant, as there is MonadBaseControl b (ExceptT e b)
I would like some feedback from the "horse's mouth" so to speak:
http://stackoverflow.com/questions/40372087/what-is-the-best-way-to-manage-resources-in-an-monad-stack-like-exceptt-a-io
What do you guys do?
The text was updated successfully, but these errors were encountered: