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

Function second

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

Source from the content-addressed store, hash-verified

30 order.append("first-out")
31
32 async def second() -> None:
33 async with gate.hold():
34 order.append("second-in")
35
36 first_task = asyncio.create_task(first())
37 await first_holding.wait()

Calls 1

holdMethod · 0.80

Tested by

no test coverage detected