Interface StateStore

interface StateStore {
    get(key: string): Promise<null | string>;
    getAllKeys(): Promise<string[]>;
    remove(key: string): Promise<null | string>;
    set(key: string, value: string): Promise<void>;
}

Implemented by

Methods

  • Parameters

    • key: string

    Returns Promise<null | string>

  • Parameters

    • key: string

    Returns Promise<null | string>

  • Parameters

    • key: string
    • value: string

    Returns Promise<void>