Options
All
  • Public
  • Public/Protected
  • All
Menu

Module states

Index

Variables

Functions

Variables

Const GLOBAL_STATE

GLOBAL_STATE: KeyValuePairs = {}

The global, extension-wide state object, which can store values as key/value pairs.

Functions

getScriptState

  • Returns the getter and setter for the state of a script.

    Parameters

    • script: string

      The path of the script.

    • Optional storage: FileStateStorage
    • initialValue: any = {}

    Returns GetterAndSetter

    The getter and setter.

Generated using TypeDoc