@vex-chat/libvex
    Preparing search index...

    Interface IFileProgress

    Progress payload emitted by the fileProgress event.

    interface IFileProgress {
        direction: "upload" | "download";
        loaded: number;
        progress: number;
        token: string;
        total: number;
    }
    Index

    Properties

    direction: "upload" | "download"

    Whether this progress event is for upload or download.

    loaded: number

    Bytes transferred so far.

    progress: number

    Integer percentage from 0 to 100.

    token: string

    Correlation token (file ID, nonce, or label depending on operation).

    total: number

    Total expected bytes when available, otherwise 0.