lagom
lagom copied to clipboard
Support for AsyncContextManager?
Hi Steve, I really love using lagom.
However, it seems that we cannot register/resolve async context managesr in the same way we can with context managers and ContextContainer. For example, I could find a way to resolve my dependecy on httpx.AsyncClient and be able to properly close the client afterwards. Is there any way this could be implemented?
Thanks!
@Herbivicous This is definitely something that lagom should/could support. I've got some time this week to take a look but I'm also happy to accept PRs for this if it's something you're interested in doing.