Provides in memory storage and is used as the default StorageProvider.

Hierarchy

  • MemoryStorageProvider

Implements

Constructors

Methods

  • Clears all stored items.

    Returns Promise<void>

  • Removes an item from storage.

    Parameters

    • key: string

    Returns Promise<void>

  • Gets an item from storage.

    Parameters

    • key: string

    Returns Promise<string>

  • Returns keys of all items currently in storage.

    Returns Promise<string[]>

  • Sets an item in storage.

    Parameters

    • key: string
    • value: string

    Returns Promise<void>

Generated using TypeDoc