Options
All
  • Public
  • Public/Protected
  • All
Menu

PreferenceStore implementation that simply stores preferences in-memory. Note: This is implementation is not intended for production usage.

Hierarchy

Implements

  • PreferenceStore

Index

Constructors

constructor

Properties

Private store

store: object

Type declaration

Methods

delete

  • delete(key: string, options?: object): Promise<void>

Protected doDelete

  • doDelete(name: string, namespace: string): Promise<void>

Protected doGet

  • doGet(name: string, namespace: string): Promise<Preference | undefined>

Protected doList

  • doList(namespace: string): Promise<Preference[]>

Protected doPut

get

  • get<V>(key: string, options?: object): Promise<V | undefined>

list

  • list<V>(scope: PreferenceScope | string): Promise<Array<object>>

put

  • put<V>(key: string, value: V, options?: object): Promise<V>

Protected scope

  • scope(scope: PreferenceScope | string): string

Protected scopeKey

  • scopeKey(key: string, scope?: string): string

Generated using TypeDoc