Observer

Description

class Observer

Represent an Observer registered to a given Observable object.

Constructor

new Observer(callback, mask, scope)

Parameters

Name Type Description
callback eventData T
eventState EventState

| | mask | number |

Members

callback : (eventData: T, eventState: EventState) => void

Parameters

Name Type Description
eventData T
eventState EventState

mask : number

scope : any