Skip to main content

lib/keyValueStore

Api Code Documentation / Exports / lib/keyValueStore

Table of contents

Functions

Functions

clearExpiredKeys

clearExpiredKeys(): void

Returns

void

Defined in

src/lib/keyValueStore.ts:23


clearValue

clearValue(key): void

Parameters

NameType
keystring

Returns

void

Defined in

src/lib/keyValueStore.ts:17


getAllValues

getAllValues(): any

Returns

any

Defined in

src/lib/keyValueStore.ts:36


getValue

getValue(key): unknown

Parameters

NameType
keystring

Returns

unknown

Defined in

src/lib/keyValueStore.ts:15


saveValue

saveValue(key, value, exp): void

Parameters

NameType
keystring
valueObject
expnumber | Date

Returns

void

Defined in

src/lib/keyValueStore.ts:6