Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/mongodb/mongo-python-driver
/ async_barrier_wait
Function
async_barrier_wait
test/utils_shared.py:740–741 ·
view source on GitHub ↗
(barrier, timeout: float | None = None)
Source
from the content-addressed store, hash-verified
738
739
740
async
def
async_barrier_wait(barrier, timeout: float | None = None):
741
await asyncio.wait_for(barrier.wait(), timeout=timeout)
742
743
744
def
barrier_wait(barrier, timeout: float | None = None):
Callers
1
mock_command
Method · 0.90
Calls
2
wait_for
Method · 0.80
wait
Method · 0.45
Tested by
1
mock_command
Method · 0.72