Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "observer/observable"

Index

Classes

Type aliases

Variables

Type aliases

WatcherFunction

WatcherFunction<T>: (value: T | undefined, oldValue: T | undefined) => void

Observable data change event callback signature.

Type parameters

  • T

    Any valid javascript type.

Type declaration

    • (value: T | undefined, oldValue: T | undefined): void
    • Parameters

      • value: T | undefined
      • oldValue: T | undefined

      Returns void

Variables

Const WATCHER_EXCEPTION

WATCHER_EXCEPTION: "Watcher failed to execute." = "Watcher failed to execute."

Exception thrown when a WatcherFunction invocation causes an error.

Generated using TypeDoc