jax-js
System
Light
Dark
Search…
Preparing search index...
@jax-js/loaders
cachedFetch
Function cachedFetch
cachedFetch
(
input
:
string
|
URL
,
init
?:
RequestInit
,
onProgress
?:
(
progress
:
FetchProgress
)
=>
void
,
)
:
Promise
<
Uint8Array
<
ArrayBuffer
>
>
Cached fetch that stores responses in OPFS and returns the data as
Uint8Array
.
Parameters
input
:
string
|
URL
Optional
init
:
RequestInit
Optional
onProgress
:
(
progress
:
FetchProgress
)
=>
void
Returns
Promise
<
Uint8Array
<
ArrayBuffer
>
>
jax-js
Loading...
Cached fetch that stores responses in OPFS and returns the data as
Uint8Array.