Files

21 lines
425 B
Markdown
Raw Permalink Normal View History

2026-06-26 17:28:07 -04:00
# InstallProgress
Progress item reported by `WslcService::InstallWithDependenciesAsync()`.
**Properties**
2026-06-26 17:28:07 -04:00
- `Component()`
- `Progress()`
- `Total()`
```cpp
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;
```