For Devs Only!
While although Zenimax's EVENT_MANAGER may do the trick for creating simplistic addons, it has some restrictions that need to be bypassed in some cases.
LibEventHandler helps you with that.
The main purpose of this library is to allow for a more versatile event handler than what ZOS provides
through their EVENT_MANAGER. LibEventHandler expands the limitation of an event being incarcerated with
only one function, to now being able to be linked to as many different functions as needed. In addition,
it allows for the firing and registering of local events that you create within your addon. Together,
these features enable this powerful tool to allow the developer to not only be more flexible with event
managing, but also to be more clean, concise, and acyclical with code.
For a ton of information on how to use this library, including how to utilize LibStub, initialize the library, and learn the API methods, check out the LibEventHandler Wiki Page for all you need to know.
- Changed async to allow for user input for the delay time as opposed to hard codes half a second. Still accepts boolean values