waitUntilReady method

  1. @override
Future<void> waitUntilReady(
  1. WaitStrategyTarget target
)
override

Runs all strategies in sequence against target.

Each strategy is awaited in order; the first to throw propagates the exception and remaining strategies are skipped.

Implementation

@override
Future<void> waitUntilReady(WaitStrategyTarget target) async {
  for (final strategy in strategies) {
    await strategy.waitUntilReady(target);
  }
}