NARU API
Preparing search index...
@naru3d/runtime-webgpu
CacheStoragePackageStorage
Class CacheStoragePackageStorage
Cache Storage adapter: one synthetic same-origin URL per key.
Implements
PersistentPackageStorage
Index
Constructors
constructor
Methods
delete
get
keys
put
Constructors
constructor
new
CacheStoragePackageStorage
(
cache
:
Cache
)
:
CacheStoragePackageStorage
Parameters
cache
:
Cache
Returns
CacheStoragePackageStorage
Methods
delete
delete
(
key
:
string
)
:
Promise
<
void
>
Parameters
key
:
string
Returns
Promise
<
void
>
get
get
(
key
:
string
)
:
Promise
<
Uint8Array
<
ArrayBufferLike
>
|
undefined
>
Parameters
key
:
string
Returns
Promise
<
Uint8Array
<
ArrayBufferLike
>
|
undefined
>
keys
keys
()
:
Promise
<
readonly
string
[]
>
Returns
Promise
<
readonly
string
[]
>
put
put
(
key
:
string
,
bytes
:
Uint8Array
)
:
Promise
<
void
>
Parameters
key
:
string
bytes
:
Uint8Array
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
delete
get
keys
put
NARU API
Loading...
Cache Storage adapter: one synthetic same-origin URL per key.