utilities.fetchfile.md

January 18, 2023 ยท View on GitHub

Home > @datashaper/utilities > fetchFile

fetchFile() function

Warning: This API is now obsolete.

  • use @datashaper/workflow fetchFile, fetchJson instead.

Signature:

export declare function fetchFile(url: string): Promise<Blob>;

Parameters

ParameterTypeDescription
urlstringthe resource url

Returns:

Promise<Blob>

Contents

  1. 1fetchFile() function
  2. 2Parameters