Sanity Library Reference Docs
    Preparing search index...

    Type Alias UploadEvent<T>

    Events emitted by client.assets.upload() when called via the observable API. Progress events are best-effort — they're only emitted when the environment supports tracking upload/download bytes (e.g. browsers via XMLHttpRequest). Other runtimes only emit the terminal response event.

    Type Parameters

    • T = unknown