(get) eventSource: EventSource<any>
The EventSource associated with this EventEmitter object.
The EventSource will not have any events in it until emit() has been called.
Disposes of the native resources associated with the EventEmitter object.
Do not call dispose() until you're certain that the eventSource is no longer required.
emit(payload?: any): void
Emits a single event with a given payload.
If called multiple times in a frame, events will be queued.
set(eventSource: EventSource<any>): void
Used to bind the emitter to an event source.
When called multiple times in a frame, only the last call will win.