Class PropertyChangedEvent

Hierarchy

  • Event
    • PropertyChangedEvent

Index

Constructor methods

Methods

Constructor methods

constructor(name: string, publisher: any, defaultErrorCallback?: ErrorCallback): Event

Parameters

  • name: string
  • publisher: any
  • defaultErrorCallback?: ErrorCallback optional

Returns

Event

Methods

public publish(data: any, publishAsync?: boolean, errorCallback?: ErrorCallback)

Parameters

  • data: any
  • publishAsync?: boolean optional
  • errorCallback?: ErrorCallback optional

public publishAsync(data: any, errorCallback?: ErrorCallback)

Parameters

public subscribe(callback?: (data: breeze.PropertyChangedEventArgs) => void): number

Parameters

  • callback?: (data: breeze.PropertyChangedEventArgs) => void optional

Returns

number

public unsubscribe(unsubKey: number): boolean

Parameters

  • unsubKey: number

Returns

boolean