Files
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

454 B

ImageProgress

Progress item reported by image pull/import/load/push operations.

Properties

  • Id()
  • Status()
  • CurrentBytes()
  • TotalBytes()
auto op = session.LoadImageAsync(L"C:\\images\\demo.tar");
op.Progress([](auto&&, ImageProgress const& p)
{
    printf("layer=%ws status=%d %llu/%llu\n",
        p.Id().c_str(),
        static_cast<int>(p.Status()),
        p.CurrentBytes(),
        p.TotalBytes());
});
co_await op;