Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IWatch<T>

Interface for types offering observers of internal value changes. Also see @IWatch decorator mixin.

Type parameters

  • T

Hierarchy

  • IWatch

Index

Methods

addWatch

  • addWatch(id: string, fn: Watch<T>): boolean

notifyWatches

  • notifyWatches(oldState: T, newState: T): void

removeWatch

  • removeWatch(id: string): boolean

Generated using TypeDoc