Interface StorageService

The storage service provides an interface to some data storage that allows extensions to keep state among sessions.

interface StorageService {
    getData<T>(key, defaultValue): Promise<T>;
    getData<T>(key): Promise<undefined | T>;
    setData<T>(key, data): Promise<void>;
}

Implemented by

Methods