(11 Kb)
Updated: 05-16-08 05:58 PM
Updated:05-16-08 05:58 PM


Version: 1.4.0
by: Saeris [More]


This embeddable addon is a library that allows for event management. It is intended for use by developers to do two things: increase efficiency by sharing a single event dispatch frame, and allow elegant inter-addon communication via an event-based architecture.

Addon Type Information

Addon type: Library
Libraries used:

See the readme file in this addon's folder, or my author portal, for an explanation of the addon type system used.


If you found a bug in this addon, want to provide feedback, want to help translate it, or even just want to ask a question, please contact me using one of these methods:

Email address: [email protected]
ICQ number: 119161819
AIM screenname: SaerisSanoora
Penny Arcade forums name: Saeris

If you use any other method, it might take me significantly longer to see your message and reply.

If you wish to support my efforts, you can donate via PayPal by clicking this button:

History of Changes

See the readme file in this addon's folder, or my author portal, for an explanation of the versioning system used.

1.4.0 (May 15, 2008):

  • No longer prints errors to the chat frame. Instead, they are propagated normally, using a way around the fact that the error() function never returns.

1.3.0 (May 3, 2008):
  • Clients registering table-based handlers with non-default keys (not of the form "OnEvent_" .. event), or registering with extra arguments, will now have a special optimized wrapper function created for them. In addition, all other handlers are now stored as booleans or integers. These changes drastically improve dispatch time and minorly reduce memory usage. A new API function, CreateHandlerData(), is available to obtain these new values for use with RegisterForEvent() as the second argument. Clients which register and unregister the same handler frequently can hold onto and reuse the value if speed during registration is a concern.

  • Removed the ability for clients to trigger default UI events. All external calls to DispatchEvent() now verify that the given event is a custom event.

  • All errors during registration/unregistration will now show as originating from the calling code.

  • Now uses LibStub as a load manager.

1.2.1 (Mar 5, 2008):
  • Miscellaneous code style updates.

1.2.0 (Feb 3, 2008):
  • Added the ability to send extra arguments with a registered event handler. These arguments take priority over the event's arguments and the sendEvent option, but not over the sendHandler option.

  • Removed the big list of events in DefaultEvents.lua. Instead, the validity of events is now determined dynamically by checking to see whether a frame accepts it as a valid argument to :RegisterEvent().

  • Removed EventsManager1_EVENT_REGISTERED and EventsManager1_EVENT_UNREGISTERED custom events.

  • Removed return value from EventsManager1.DispatchEvent().

1.1.0 (Dec 23, 2007):
  • Various efficiency improvements.

1.0.0 (Nov 13, 2007):
  • Initial release.

See the readme file in this addon's folder for earlier changes.

Developer Notes

See readme file included in the directory.

Optional Files (0)

There have been no comments posted to this file.
Be the first to add one.

Category Jump: