Theia API Documentation v1.65.0
    Preparing search index...

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

    Implements

    Index

    Constructors

    Properties

    logger: ILogger
    messageService: MessageService
    windowService: WindowService

    Methods

    • Returns the data stored for the given key or the provided default value if nothing is stored for the given key.

      Type Parameters

      • T

      Parameters

      • key: string
      • OptionaldefaultValue: T

      Returns Promise<undefined | T>