async def connect_to_endpoints(self, *endpoints: ConnectionConfig) -> None:
self._throw_if_already_connected(*endpoints)<EOL>await asyncio.gather(<EOL>*(self._await_connect_to_endpoint(endpoint) for endpoint in endpoints),<EOL>loop=self.event_loop<EOL>)<EOL>
Connect to the given endpoints and await until all connections are established.