An event loop closes what was dropped once it gets to run, and one generator after the other.
(self)
| 213 | return httpx2.MockTransport(lambda _: httpx2.Response(200, stream=self)) |
| 214 | |
| 215 | async def wait_closed(self) -> None: |
| 216 | """An event loop closes what was dropped once it gets to run, and one generator after the other.""" |
| 217 | with anyio.fail_after(10): |
| 218 | while not self.closes: |
| 219 | await anyio.sleep(0) |
| 220 | |
| 221 | |
| 222 | Request = Callable[..., Stream[object]] |