Options
All
  • Public
  • Public/Protected
  • All
Menu

An interface for a config object with a persistent store.

interface

Hierarchy

  • ConfigStore

Implemented by

Index

Methods

awaitEach

  • awaitEach(actionFn: function): Promise<void>
  • Parameters

    • actionFn: function
        • Parameters

          Returns Promise<void>

    Returns Promise<void>

clear

  • clear(): void
  • Returns void

entries

  • Returns ConfigEntry[]

forEach

  • forEach(actionFn: function): void
  • Parameters

    • actionFn: function

    Returns void

get

  • Parameters

    • key: string

    Returns Optional<ConfigValue>

getContents

getKeysByValue

  • Parameters

    Returns string[]

has

  • has(key: string): boolean
  • Parameters

    • key: string

    Returns boolean

keys

  • keys(): string[]
  • Returns string[]

set

setContents

  • Parameters

    Returns void

unset

  • unset(key: string): boolean
  • Parameters

    • key: string

    Returns boolean

unsetAll

  • unsetAll(keys: string[]): boolean
  • Parameters

    • keys: string[]

    Returns boolean

values

  • Returns ConfigValue[]