Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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()
Callers
1
test_hold_canceled_while_waiting_lets_the_predecessor_free_the_ticket
Function · 0.85
Calls
1
hold
Method · 0.80
Tested by
no test coverage detected