poll abstract method
Calls check every interval until it returns true.
Throws a ContainerLaunchException when the container exited in the
meantime, or when description did not come true within remaining.
Implementation
Future<void> poll(
String description,
Future<bool> Function() check, {
Duration interval = const Duration(milliseconds: 100),
});