Foundry Virtual Tabletop - API Documentation - Version 14
    Preparing search index...

    Function fetchResource

    • Use the Fetch API to retrieve a resource and return a Blob instance for it.

      Parameters

      • src: string
      • Optionaloptions: { bustCache?: boolean } = {}

        Options to configure the loading behaviour.

        • OptionalbustCache?: boolean

          Append a cache-busting query parameter to the request.

      Returns Promise<Blob>

      A Blob containing the loaded data