def close(self) -> Generator[Any, None, None]:
        """
        关闭回调
        """
        for server in self.servers:
            server.close()
            yield from server.wait_closed()
def close ( self ) -> Generator [ Any , None , None ] : for server in self . servers : server . close ( ) yield from server . wait_closed ( )
关闭回调