Constructors
constructor
- new AsyncStoreFacade(store): AsyncStoreFacade
-
Properties
Private
store
store: any
Methods
all
- all(kind): Promise<LDFeatureStoreKindData>
-
close
- close(): void
-
Returns void
delete
- delete(kind, key, version): Promise<void>
-
Parameters
-
-
key: string
-
version: number
Returns Promise<void>
get
- get(kind, key): Promise<null | LDFeatureStoreItem>
-
init
- init(allData): Promise<void>
-
Returns Promise<void>
initialized
- initialized(): Promise<boolean>
-
Returns Promise<boolean>
upsert
- upsert(kind, data): Promise<void>
-
Returns Promise<void>
Provides an async interface to a feature store.
This allows for using a store using async/await instead of callbacks.