An in-memory string key/value data connector.

Hierarchy

  • Connector

Implements

Constructors

Properties

Methods

Constructors

Properties

_storage: any

Methods

  • Retrieve an item from the data connector.

    Parameters

    • id: string

    Returns Promise<string>

  • Retrieve the list of items available from the data connector.

    Parameters

    • Optional namespace: string

      If not empty, only keys whose first token before : exactly match namespace will be returned, e.g. foo in foo:bar.

    Returns Promise<{
        ids: string[];
        values: string[];
    }>

  • Remove a value using the data connector.

    Parameters

    • id: string

    Returns Promise<void>

  • Save a value using the data connector.

    Parameters

    • id: string
    • value: string

    Returns Promise<void>

Generated using TypeDoc