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

Method join

pymongo/periodic_executor.py:82–84  ·  view source on GitHub ↗
(self, timeout: Optional[int] = None)

Source from the content-addressed store, hash-verified

80 self._task.cancel()
81
82 async def join(self, timeout: Optional[int] = None) -> None:
83 if self._task is not None:
84 await asyncio.wait([self._task], timeout=timeout) # type-ignore: [arg-type]
85
86 def wake(self) -> None:
87 """Execute the target function soon."""

Callers

nothing calls this directly

Calls 1

waitMethod · 0.45

Tested by

no test coverage detected