Capsium TypeScript API
Capsium
GitHub
Preparing search index...
@capsium/swsws
KeyValueBlobCache
Interface KeyValueBlobCache
Minimal blob persistence so tests can substitute an in-memory fake.
interface
KeyValueBlobCache
{
delete
(
key
:
string
)
:
Promise
<
void
>
;
get
(
key
:
string
)
:
Promise
<
Uint8Array
<
ArrayBufferLike
>
|
undefined
>
;
put
(
key
:
string
,
data
:
Uint8Array
)
:
Promise
<
void
>
;
}
Implemented by
CacheApiBlobCache
Index
Methods
delete
get
put
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
>
put
put
(
key
:
string
,
data
:
Uint8Array
)
:
Promise
<
void
>
Parameters
key
:
string
data
:
Uint8Array
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
delete
get
put
Capsium
GitHub
Capsium TypeScript API
Loading...
Minimal blob persistence so tests can substitute an in-memory fake.