@dxos/app-toolkit - v0.16.0
    Preparing search index...

    Type Alias Progress

    How far along an update's download is.

    The unit differs by platform and is carried rather than assumed: a native build downloads one archive and counts bytes, while the web precaches thousands of individual entries and counts those. A byte total means nothing to the web path, and a percentage alone would lose the ability to say "1,240 of 4,372 files".

    type Progress = {
        completed: number;
        total: number;
        unit: "bytes" | "entries";
    }
    Index

    Properties

    Properties

    completed: number
    total: number
    unit: "bytes" | "entries"