Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

Hierarchy

  • Link

Implements

Index

Constructors

constructor

  • new Link(h: T, registerAsObserver: boolean): Link
  • Parameters

    • h: T
    • registerAsObserver: boolean

    Returns Link

Properties

_isDisposed

_isDisposed: boolean = false

_observables

_observables: Set<Observable> = new Set()

_observers

_observers: Set<Observer> = new Set()

dispose

dispose: () => void

Type declaration

    • (): void
    • Returns void

isDisposed

isDisposed: boolean

notifyObservers

notifyObservers: () => void

Type declaration

    • (): void
    • Returns void

registerObserver

registerObserver: (o: Observer) => void

Type declaration

registerWith

registerWith: (h: Observable) => void

Type declaration

registerWithObservables

registerWithObservables: (o: Observer) => void

Type declaration

unregisterObserver

unregisterObserver: (o: Observer) => void

Type declaration

unregisterWith

unregisterWith: (h: Observable) => Size

Type declaration

unregisterWithAll

unregisterWithAll: () => void

Type declaration

    • (): void
    • Returns void

Methods

currentLink

  • currentLink(): T
  • Returns T

deepUpdate

  • deepUpdate(): void

empty

  • empty(): boolean
  • Returns boolean

linkTo

  • linkTo(h: T, registerAsObserver: boolean): void
  • Parameters

    • h: T
    • registerAsObserver: boolean

    Returns void

update

  • update(): void