MCPcopy Create free account
hub / github.com/tox-dev/filelock / third

Function third

tests/async_lock/test_transitions.py:99–101  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

97 entered = asyncio.Event()
98
99 async def third() -> None:
100 async with gate.hold():
101 entered.set()
102
103 await asyncio.wait_for(third(), timeout=1)
104 assert entered.is_set()

Calls 1

holdMethod · 0.80

Tested by

no test coverage detected