Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StorageContextKeyValuePair

Represents a single key/value pair for a target context/transport. This eliminates the need for manual key string referencing for each of the standard transport methods.

Hierarchy

  • StorageContextKeyValuePair

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

Readonly context

Readonly key

key: string

Accessors

absoluteKey

  • get absoluteKey(): string

Methods

asEntity

clear

  • clear(): Promise<void>

load

  • load(defaultValue?: string): Promise<undefined | string>

save

  • save(update: string): Promise<void>

Generated using TypeDoc