EventObserver

An observer for events.

Members

Functions

fireEvent
void fireEvent(string eventName, TEventArgs eventArgs)

Fires an event.

subscribe
void subscribe(string eventName, EventHandler!TEventArgs handler)

Subscribes an event handler to an event.

unsubscribe
void unsubscribe(string eventName)

Unsubscribes an event.

Static functions

fireEventGlobal
void fireEventGlobal(string eventName, TEventArgs eventArgs)

Fires a global event.

subscribeGlobal
void subscribeGlobal(string eventName, EventHandler!TEventArgs handler)

Subscribes a global event handler to an event.

unsubscribeGlobal
void unsubscribeGlobal(string eventName)

Unsubscribes a global event.

Meta