java awaitility condition

Job ID: 33548948

Budget: £10 – £20 GBP

I have a list of orders, I need to create a condition using awaitillity to wait until the list is populated with a order status of done.

each order object has ids and each order can have different states.
I need a condition that will wait for the list to populate with order and status done.