Skip to main content
Version: Next

KeyValueStoreRecord

A record as returned by a storage backend (getValue).

Storage backends are byte transports: they persist and return bytes verbatim and never serialize or parse. Interpretation is the KeyValueStore frontend's job (it parses according to the content type via parseValue). The value is therefore always raw bytes — a Buffer (Node) or an ArrayBuffer (browser backends).

Index

Properties

optionalcontentType

contentType?: string

key

key: string

value

value: ArrayBuffer | Buffer<ArrayBufferLike>
Page Options