MCPcopy 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
740async def async_barrier_wait(barrier, timeout: float | None = None):
741 await asyncio.wait_for(barrier.wait(), timeout=timeout)
742
743
744def barrier_wait(barrier, timeout: float | None = None):

Callers 1

mock_commandMethod · 0.90

Calls 2

wait_forMethod · 0.80
waitMethod · 0.45

Tested by 1

mock_commandMethod · 0.72