Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EphemeralStorageService<C>

Type parameters

Hierarchy

Index

Constructors

constructor

Properties

Optional Readonly observerType

Readonly observers

observers: readonly StorageServiceObserver<C, StorageService<C>>[]

Readonly roots

roots: readonly C[]

Readonly storage

storage: Dictionary<string>

Accessors

attached

  • get attached(): boolean
  • Returns boolean

Methods

attachRoot

  • attachRoot(root: C): void
  • Parameters

    • root: C

    Returns void

clear

  • clear(): void
  • Returns void

detachRoot

  • detachRoot(root: C): void
  • Parameters

    • root: C

    Returns void

Protected didAttach

  • didAttach(): void
  • Returns void

Protected didAttachRoot

  • didAttachRoot(root: C): void
  • Parameters

    • root: C

    Returns void

Protected didClear

  • didClear(): void
  • Returns void

Protected didDetach

  • didDetach(): void
  • Returns void

Protected didDetachRoot

  • didDetachRoot(root: C): void
  • Parameters

    • root: C

    Returns void

Protected didObserve

Protected didSet

  • didSet(key: string, newValue: undefined | string, oldValue: undefined | string): void
  • Parameters

    • key: string
    • newValue: undefined | string
    • oldValue: undefined | string

    Returns void

Protected didUnobserve

Protected forEachObserver

get

  • get(key: string): undefined | string
  • Parameters

    • key: string

    Returns undefined | string

observe

Protected onAttach

  • onAttach(): void
  • Returns void

Protected onAttachRoot

  • onAttachRoot(root: C): void
  • Parameters

    • root: C

    Returns void

Protected onClear

  • onClear(): void
  • Returns void

Protected onDetach

  • onDetach(): void
  • Returns void

Protected onDetachRoot

  • onDetachRoot(root: C): void
  • Parameters

    • root: C

    Returns void

Protected onObserve

Protected onSet

  • onSet(key: string, newValue: undefined | string, oldValue: undefined | string): void
  • Parameters

    • key: string
    • newValue: undefined | string
    • oldValue: undefined | string

    Returns void

Protected onUnobserve

set

  • set(key: string, newValue: undefined | string): undefined | string
  • Parameters

    • key: string
    • newValue: undefined | string

    Returns undefined | string

unobserve

Protected willAttach

  • willAttach(): void
  • Returns void

Protected willAttachRoot

  • willAttachRoot(root: C): void
  • Parameters

    • root: C

    Returns void

Protected willClear

  • willClear(): void
  • Returns void

Protected willDetach

  • willDetach(): void
  • Returns void

Protected willDetachRoot

  • willDetachRoot(root: C): void
  • Parameters

    • root: C

    Returns void

Protected willObserve

Protected willSet

  • willSet(key: string, newValue: undefined | string, oldValue: undefined | string): void
  • Parameters

    • key: string
    • newValue: undefined | string
    • oldValue: undefined | string

    Returns void

Protected willUnobserve

Static global

Generated using TypeDoc