Interface AnnotatedDatastore<T>

interface AnnotatedDatastore<T> {
    length: number;
    clear(): Promise<undefined>;
    getItem(keyName): Promise<null | T>;
    key(index): Promise<null | T>;
    removeItem(keyName): Promise<undefined>;
    setItem(keyName, value): Promise<undefined>;
}

Type Parameters

  • T

Properties

length: number

Methods

Generated using TypeDoc