/** * The ProgressState interface represents events measuring progress of an underlying process */ export interface ProgressState { /** * A 64-bit unsigned integer value indicating the amount of work already performed by the underlying process. * The ratio of work done can be calculated by dividing total by the value of this property. */ loaded: number; /** * A 64-bit unsigned integer representing the total amount of work that the underlying process is in the progress of performing. * If undefined, it means that total length cannot be commuted */ total?: number; }