Files
WSL/doc/docs/api-reference/cpp/data-classes/installprogress.md
T
Blue 901cb9c134 Run the documentation pipeline when doc/ is edited + various rendering fixes (#40931)
* Run the documentation pipeline when doc/ is edited + various rendering fixes

* Fix inverted condition
2026-06-28 06:43:01 -07:00

425 B

InstallProgress

Progress item reported by WslcService::InstallWithDependenciesAsync().

Properties

  • Component()
  • Progress()
  • Total()
auto install = WslcService::InstallWithDependenciesAsync();
install.Progress([](auto&&, InstallProgress const& p)
{
    printf("component=%d step=%u/%u\n",
        static_cast<int>(p.Component()),
        p.Progress(),
        p.Total());
});
co_await install;