loaderFuture property

Future<void> loaderFuture

Implementation

Future<void> get loaderFuture => _loaderFuture ??= (() async {
      final game = currentGame;
      assert(game.hasLayout);
      await game.load();
      game.mount();
      if (!game.paused) {
        game.update(0);
      }
    })();