Ditto JS SDK v5.1.0
    Preparing search index...

    Type Alias AttachmentFetchEventProgress

    An attachment fetch event used when the attachment's download progressed but is not yet complete.

    type AttachmentFetchEventProgress = {
        downloadedBytes: number | bigint;
        totalBytes: number | bigint;
        type: "Progress";
    }
    Index

    Properties

    downloadedBytes: number | bigint

    The number of bytes downloaded so far.

    totalBytes: number | bigint

    The total size of the attachment in bytes.

    type: "Progress"

    Identifies this as an attachment fetch progress event.