dashboard/head.py
async def check_once(self) -> bool:
        """Ask the thread to perform a healthcheck."""
        assert (
            threading.current_thread != self
        ), "caller shouldn't be from the same thread as GCSHealthCheckThread."

        future = Future()
        self.work_queue.put(future)
        return await asyncio.wrap_future(future)
Ask the thread to perform a healthcheck.
Ask the thread to perform a healthcheck.
Ask the thread to perform a healthcheck .
async def check_once(self) -> bool:
        assert (
            threading.current_thread != self
        ), "caller shouldn't be from the same thread as GCSHealthCheckThread."
        future = Future()
        self.work_queue.put(future)
        return await asyncio.wrap_future(future)
async def check_once ( self ) -> bool : assert ( threading . current_thread != self ) , "caller shouldn't be from the same thread as GCSHealthCheckThread." future = Future ( ) self . work_queue . put ( future ) return await asyncio . wrap_future ( future )
Ask the thread to perform a healthcheck.
Ask the thread to perform a healthcheck .
"""Ask the thread to perform a healthcheck."""
self