Future<bool> waitReady() async { if (isReady) { return true; } return await _readyCompleter.future; }