Immediately unwind the context stack.
(self)
| 701 | return callback # Allow use as a decorator |
| 702 | |
| 703 | async def aclose(self): |
| 704 | """Immediately unwind the context stack.""" |
| 705 | await self.__aexit__(None, None, None) |
| 706 | |
| 707 | def _push_async_cm_exit(self, cm, cm_exit): |
| 708 | """Helper to correctly register coroutine function to __aexit__ |