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

Function third

tests/test_async_transition_gate.py:72–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

70 entered = asyncio.Event()
71
72 async def third() -> None:
73 async with gate.hold():
74 entered.set()
75
76 await asyncio.wait_for(third(), timeout=1)
77 assert entered.is_set()

Calls 1

holdMethod · 0.80

Tested by

no test coverage detected