Skip to content

Welshman Docs / @welshman/app / FreshnessStorageAdapter

Class: FreshnessStorageAdapter ​

Defined in: app/src/storageAdapters.ts:84

Constructors ​

Constructor ​

new FreshnessStorageAdapter(options): FreshnessStorageAdapter

Defined in: app/src/storageAdapters.ts:87

Parameters ​

options ​

FreshnessStorageAdapterOptions

Returns ​

FreshnessStorageAdapter

Properties ​

keyPath ​

keyPath: string = "key"

Defined in: app/src/storageAdapters.ts:85


options ​

readonly options: FreshnessStorageAdapterOptions

Defined in: app/src/storageAdapters.ts:87

Methods ​

init() ​

init(): Promise<void>

Defined in: app/src/storageAdapters.ts:89

Returns ​

Promise<void>


sync() ​

sync(): () => void

Defined in: app/src/storageAdapters.ts:95

Returns ​

(): void

Returns ​

void