Interface KnockoutPostBox

Index

Methods

Methods

public defaultComparer(newValue: T, oldValue: T): boolean

Parameters

  • newValue: T
  • oldValue: T

Returns

boolean

public publish(topic: string, value?: T)

Parameters

  • topic: string
  • value?: T optional

public subscribe(topic: string, handler: (value: T) => void, target?: any): KnockoutSubscription

Parameters

  • topic: string
  • handler: (value: T) => void
  • target?: any optional

Returns

KnockoutSubscription