(self)
Wait for the pool to finish gracefully.
Wait for the pool to finish gracefully.
Wait for the pool to finish gracefully .
async def join(self) -> None:
        """Wait for the pool to finish gracefully."""
        if self.running:
            raise RuntimeError("pool is still open")

        await self._loop
async def join ( self ) -> None : if self . running : raise RuntimeError ( "pool is still open" ) await self . _loop