Class EventSource<T, T, T, T>
Implements
- Event<T>
- Event<T>
- Event<T>
- Event<T>
Constructors
constructor
- new EventSource(name: string, log?: boolean): EventSource
- new EventSource(name: string, log?: boolean): EventSource
- new EventSource(name: string, log?: boolean): EventSource
-
Parameters
-
name: string
-
Optional log: boolean
-
Parameters
-
name: string
-
Optional log: boolean
-
Parameters
-
name: string
-
Optional log: boolean
Properties
Private _id
_id: any
Private _name
_name: any
Private _shouldLog
_shouldLog: any
Private _subscriptions
_subscriptions: any = []
Methods
raise
- raise(args: T): void
- raise(args: T): void
- raise(args: T): void
-
Parameters
Returns void
-
Parameters
Returns void
-
Parameters
Returns void
subscribe
- subscribe(onChange: function): Disposable
- subscribe(onChange: function): Disposable
- subscribe(onChange: function): Disposable
-
Parameters
-
Parameters
Returns Disposable
-
Parameters
Returns Disposable