API Reference / PackFetch · type
Type Alias: PackFetch
type PackFetch = (file, entry) => Promise<ArrayBuffer | ArrayBufferView>;
Turns a manifest file name into the file's bytes. The host decides where the files live and how to fetch them.
Parameters
| Parameter | Type |
|---|---|
file | string |
entry | PackManifestEntry |
Returns
Promise<ArrayBuffer | ArrayBufferView>