waitUntilReady method

Future<void> waitUntilReady()

wait until this worker spawns

Implementation

Future<void> waitUntilReady() async {
  if (!_ready.isCompleted) {
    await _ready.future;
  }
}