@rendley/sdk - v1.15.5
    Preparing search index...

    Function urlToBlobChunks

    • Streams a URL into memory and assembles the received chunks into a single Blob.

      This avoids depending on response.blob() and exposes abort support through the provided signal, which is useful when the caller wants tighter control over cancellation during large downloads.

      Parameters

      • url: string

        Resource URL to fetch.

      • Optionalsignal: AbortSignal

        Optional abort signal forwarded to fetch.

      Returns Promise<Blob>

      A blob containing the entire streamed response body.