public static void main(String[] args) { List<String> list = new ArrayList<>(); await("wait").during(5_000, TimeUnit.MILLISECONDS).atMost(5_000, TimeUnit.MILLISECONDS) .pollInterval(100, TimeUnit.MILLISECONDS) .until(() -> list, List::isEmpty);}
--
You received this message because you are subscribed to the Google Groups "Awaitility" group.
To unsubscribe from this group and stop receiving emails from it, send an email to awaitility+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awaitility/08d55661-bc06-42b1-b5f1-57d13be111fbo%40googlegroups.com.