函数 cancelableFetchWithProgress
cancelableFetchWithProgress( progressFunc: (loaded: number, total: number) => void, ...args: [input
: string | URL | Request, init
?: RequestInit],): Promise<Response> 参数
- progressFunc: (loaded: number, total: number) => void
- ...args: [input: string | URL | Request, init?: RequestInit]
返回 Promise<Response>
可取消可监视进度的fetch