piwebasync/websockets/client.py
async def close(self) -> None:
        """
        Close the client
        
        Execute closing sequence. Calls to `recv` after the closing
        sequence has started will raise ChannelClosed
        """
        try:
            logger.debug("closing channel")
            if not self.is_closed:
                if not self.is_closing:
                    logger.debug("signaling close channel task")
                    self._close_channel_waiter.set_result(None)
                await self._close_channel_task
                logger.debug("channel closed")
        finally:
            self._close_channel_task = None

        Close the client
        
        Execute closing sequence. Calls to `recv` after the closing
        sequence has started will raise ChannelClosed
        
Close the client
Execute closing sequence. Calls to `recv` after the closing
sequence has started will raise ChannelClosed
Close the client Execute closing sequence . Calls to ` recv ` after the closing sequence has started will raise ChannelClosed
async def close(self) -> None:
        try:
            logger.debug("closing channel")
            if not self.is_closed:
                if not self.is_closing:
                    logger.debug("signaling close channel task")
                    self._close_channel_waiter.set_result(None)
                await self._close_channel_task
                logger.debug("channel closed")
        finally:
            self._close_channel_task = None
async def close ( self ) -> None : try : logger . debug ( "closing channel" ) if not self . is_closed : if not self . is_closing : logger . debug ( "signaling close channel task" ) self . _close_channel_waiter . set_result ( None ) await self . _close_channel_task logger . debug ( "channel closed" ) finally : self . _close_channel_task = None
Close the client
Execute closing sequence.
Close the client Execute closing sequence .
"""
        Close the client
        
        Execute closing sequence. Calls to `recv` after the closing
        sequence has started will raise ChannelClosed
        """
self