KVStoreEntry.metadata()
The metadata()
method of the KVStoreEntry
interface provides the binary metadata associated with the KVStoreEntry
.
The metadata binary may be up to 1000 bytes, and is returned as a Uint8Array
TypedArray buffer, if metadata is set, or null otherwise.
Syntax
metadata()
Parameters
None.
Return value
A Promise
that resolves to a Uint8Array
buffer object.