lib/keyValueStore
Api Code Documentation / Exports / lib/keyValueStore
Table of contents
Functions
Functions
clearExpiredKeys
▸ clearExpiredKeys(): void
Returns
void
Defined in
clearValue
▸ clearValue(key
): void
Parameters
Name | Type |
---|---|
key | string |
Returns
void
Defined in
getAllValues
▸ getAllValues(): any
Returns
any
Defined in
getValue
▸ getValue(key
): unknown
Parameters
Name | Type |
---|---|
key | string |
Returns
unknown
Defined in
saveValue
▸ saveValue(key
, value
, exp
): void
Parameters
Name | Type |
---|---|
key | string |
value | Object |
exp | number | Date |
Returns
void