()
| 17 | release_first = asyncio.Event() |
| 18 | |
| 19 | async def first() -> None: |
| 20 | async with gate.hold(): |
| 21 | first_holding.set() |
| 22 | order.append("first-in") |
| 23 | await release_first.wait() |
| 24 | order.append("first-out") |
| 25 | |
| 26 | async def second() -> None: |
| 27 | async with gate.hold(): |
no test coverage detected