WoW:USERAPI wait: Difference between revisions

m
(→‎Code: Fixed to pass all the varargs. Still has trouble with nils)
Line 16: Line 16:
:;success: Boolean - '''true''' if it succeded in adding the wait to the wait table, If the first parameter is not a number, or the seconds parameter is not a function, any call to wait will automatically fail with a result of '''false'''.
:;success: Boolean - '''true''' if it succeded in adding the wait to the wait table, If the first parameter is not a number, or the seconds parameter is not a function, any call to wait will automatically fail with a result of '''false'''.


NOTE: if the UIParent frame is being hidden, this wait will not work. It will never reach the end of the delay.


== Example ==
== Example ==
Anonymous user