def ex_wait_for_state(self, state, func, poll_interval=2,
                          timeout=60, *args, **kwargs):
        return self.connection.wait_for_state(state, func, poll_interval,
                                              timeout, *args, **kwargs)
Wait for the function which returns a instance
dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/dimensiondata.py/DimensionDataNodeDriver.ex_wait_for_state