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

Function second

tests/test_async_transition_gate.py:26–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24 order.append("first-out")
25
26 async def second() -> None:
27 async with gate.hold():
28 order.append("second-in")
29
30 first_task = asyncio.create_task(first())
31 await first_holding.wait()

Calls 1

holdMethod · 0.80

Tested by

no test coverage detected