def connect_to_endpoints_blocking(self, *endpoints: ConnectionConfig, timeout: int=<NUM_LIT:30>) -> None:
self._throw_if_already_connected(*endpoints)<EOL>for endpoint in endpoints:<EOL><INDENT>wait_for_path_blocking(endpoint.path, timeout)<EOL>self._connect_if_not_already_connected(endpoint)<EOL><DEDENT>
Connect to the given endpoints and block until the connection to every endpoint is
established. Raises a ``TimeoutError`` if connections do not become available within
``timeout`` seconds (default 30 seconds).