Class HasChangesChangedEvent

Hierarchy

  • Event
    • HasChangesChangedEvent

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.HasChangesChangedEventArgs) => void): number

Parameters

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

Returns

number

public unsubscribe(unsubKey: number): boolean

Parameters

  • unsubKey: number

Returns

boolean