Back to index...

NameTypeDeprecatedSecureDescription
Utility.DispatchfunctionCalls a function, crediting that function's execution and errors to a specific addon. Errors will...

Utility.Dispatch

Calls a function, crediting that function's execution and errors to a specific addon. Errors will be handled by the standard error handler and not relayed to the caller. Does not return anything.

Usage:

Utility.Dispatch(func, identifier, info)
ParameterTypeDatatypeDescription
funcparameterfunctionThe function to call.
identifierparameterstringThe identifier of the addon to credit execution time towards.
infoparameterstringAn info string to be included in error reports.

Back to index...