python/ray/serve/http_proxy.py
async def ready(self):
        """Returns when HTTP proxy is ready to serve traffic.
        Or throw exception when it is not able to serve traffic.
        """
        done_set, _ = await asyncio.wait(
            [
                # Either the HTTP setup has completed.
                # The event is set inside self.run.
                self.setup_complete.wait(),
                # Or self.run errored.
                self.running_task,
            ],
            return_when=asyncio.FIRST_COMPLETED,
        )

        # Return None, or re-throw the exception from self.running_task.
        return await done_set.pop()
Returns when HTTP proxy is ready to serve traffic.
        Or throw exception when it is not able to serve traffic.
        
Returns when HTTP proxy is ready to serve traffic.
Or throw exception when it is not able to serve traffic.
Returns when HTTP proxy is ready to serve traffic . Or throw exception when it is not able to serve traffic .
async def ready(self):
        done_set, _ = await asyncio.wait(
            [
                self.setup_complete.wait(),
                self.running_task,
            ],
            return_when=asyncio.FIRST_COMPLETED,
        )
        return await done_set.pop()
async def ready ( self ) : done_set , _ = await asyncio . wait ( [ self . setup_complete . wait ( ) , self . running_task , ] , return_when = asyncio . FIRST_COMPLETED , ) return await done_set . pop ( )
Returns when HTTP proxy is ready to serve traffic.
Returns when HTTP proxy is ready to serve traffic .
"""Returns when HTTP proxy is ready to serve traffic.
        Or throw exception when it is not able to serve traffic.
        """ # Either the HTTP setup has completed. # The event is set inside self.run. # Or self.run errored. # Return None, or re-throw the exception from self.running_task.
self