local UITimer = { Name = "UITimer", Type = "System", Namespace = "C_Timer", Environment = "All", Functions = { { Name = "After", Type = "Function", SecretArguments = "AllowedWhenUntainted", Arguments = { { Name = "seconds", Type = "number", Nilable = false }, { Name = "callback", Type = "TimerCallback", Nilable = false }, }, }, { Name = "NewTicker", Type = "Function", SecretArguments = "AllowedWhenUntainted", Arguments = { { Name = "seconds", Type = "number", Nilable = false }, { Name = "callback", Type = "TickerCallback", Nilable = false }, { Name = "iterations", Type = "number", Nilable = true }, }, Returns = { { Name = "cbObject", Type = "TickerCallback", Nilable = false }, }, }, { Name = "NewTimedSignalMap", Type = "Function", SecretArguments = "AllowedWhenUntainted", Documentation = { "Creates a new timed signal map that invokes the supplied callback with each key as it becomes due." }, Arguments = { { Name = "callback", Type = "TimedSignalMapCallback", Nilable = false, Documentation = { "Callback to execute when each entry becomes due." } }, }, Returns = { { Name = "signalMap", Type = "TimedSignalMap", Nilable = false, Documentation = { "The newly created timed signal map." } }, }, }, { Name = "NewTimer", Type = "Function", SecretArguments = "AllowedWhenUntainted", Arguments = { { Name = "seconds", Type = "number", Nilable = false }, { Name = "callback", Type = "TickerCallback", Nilable = false }, }, Returns = { { Name = "cbObject", Type = "TickerCallback", Nilable = false }, }, }, }, Events = { }, Tables = { { Name = "TickerCallback", Type = "CallbackType", Arguments = { { Name = "cb", Type = "TimerCallback", Nilable = false }, }, }, { Name = "TimerCallback", Type = "CallbackType", }, }, Predicates = { }, }; APIDocumentation:AddDocumentationTable(UITimer);