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

Implemented by

Index

Methods

Methods

getData

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

setData

  • setData<T>(key: string, data: T): Promise<void>