MCPcopy Index your code
hub / github.com/mongodb/mongo-python-driver / join

Method join

test/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 def join(self, timeout: Optional[float] = None): # type: ignore[override]
151 if self.task is not None:
152 asyncio.wait([self.task], timeout=timeout)
153
154 def is_alive(self):
155 return not self.stopped

Calls 1

waitMethod · 0.45

Tested by 15

test_change_streamsMethod · 0.76
apply_replacementsFunction · 0.36
_test_no_gc_deadlockMethod · 0.36
test_session_gcMethod · 0.36
create_testsFunction · 0.36
create_testsFunction · 0.36
create_selection_testsFunction · 0.36
wait_for_threadMethod · 0.36
cleanupMethod · 0.36