KwDispatcher.RegTEvent

__NOTOC__
This method adds a function to an Event handler which adds the function call to the thread handler when the event is called.
The function can have a coroutine.yield breakpoint for long term calculations.
== Parameters ==
=== Arguments ===
:;addonName
::string - The name of your addon.
:;func
::function - The function is added to the Event handler.
:;events
::table - Table of events which are conected to the function.
=== Returns ===
:;nil
::void - A method call without return value.
== Example ==
function OnEvent(event, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9)
 --do something
end
kwDispatcher.RegTEvent("Example",OnEvent,{"VARIABLES_LOADED"})