EarthSDK
    正在准备搜索索引...

    函数 cancelableFetchWithProgress

    • 可取消可监视进度的fetch

      参数

      • progressFunc: (loaded: number, total: number) => void

        用来获取下载的进度信息

      • ...args: [input: string | URL | Request, init?: RequestInit]

        原始fetch的参数

      返回 Promise<Response>