Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface StorageService

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

Hierarchy

  • StorageService

Index

Methods

  • getData<T>(key: string, defaultValue: T): Promise<T>
  • getData<T>(key: string): Promise<undefined | T>
  • setData<T>(key: string, data: T): Promise<void>