kinetex - v1.0.0-rc.1
    Preparing search index...

    Function withDownloadProgress

    • Intercept a fetch Response body to track download progress.

      Parameters

      • response: Response

        The original fetch Response.

      • options: ProgressOptions = {}

        Progress options (onProgress, throttle, signal, etc.).

      Returns WithDownloadProgressResult

      An object with a tracked response and the underlying tracker.