MCPcopy Create free account
hub / github.com/mongodb/mongo-python-driver / join

Method join

test/asynchronous/helpers.py:150–152  ·  view source on GitHub ↗
(self, timeout: Optional[float] = None)

Source from the content-addressed store, hash-verified

148 self.task = create_task(self.run(), name=self.name)
149
150 async def join(self, timeout: Optional[float] = None): # type: ignore[override]
151 if self.task is not None:
152 await asyncio.wait([self.task], timeout=timeout)
153
154 def is_alive(self):
155 return not self.stopped

Callers 15

test_change_streamsMethod · 0.95
perf_test.pyFile · 0.45
threadedFunction · 0.45
setUpMethod · 0.45
setUpMethod · 0.45
setUpMethod · 0.45
setUpMethod · 0.45
setUpMethod · 0.45
setUpMethod · 0.45
beforeMethod · 0.45

Calls 1

waitMethod · 0.45

Tested by 15

test_change_streamsMethod · 0.76
threadedFunction · 0.36
setUpMethod · 0.36
setUpMethod · 0.36
setUpMethod · 0.36
setUpMethod · 0.36
setUpMethod · 0.36
setUpMethod · 0.36
beforeMethod · 0.36
setUpMethod · 0.36