Interface: KVWrite
This interface is experimental and might be removed or changed in the future without following semver versioning. Please be cautious.
Hierarchy
↳
KVWrite
Properties
closed
• closed: boolean
Inherited from
Methods
commit
▸ commit(): Promise
<void
>
Returns
Promise
<void
>
del
▸ del(key
): Promise
<void
>
Parameters
Name | Type |
---|---|
key | string |
Returns
Promise
<void
>
get
▸ get(key
): Promise
<undefined
| ReadonlyJSONValue
>
Parameters
Name | Type |
---|---|
key | string |
Returns
Promise
<undefined
| ReadonlyJSONValue
>
Inherited from
has
▸ has(key
): Promise
<boolean
>
Parameters
Name | Type |
---|---|
key | string |
Returns
Promise
<boolean
>
Inherited from
put
▸ put(key
, value
): Promise
<void
>
Parameters
Name | Type |
---|---|
key | string |
value | ReadonlyJSONValue |
Returns
Promise
<void
>
release
▸ release(): void
Returns
void