Enhance C_Timer documentation by adding optional repetitions parameter to NewTimer function
This commit is contained in:
@@ -14,8 +14,9 @@ C_Timer = {
|
||||
---Schedules a timer that can be canceled.
|
||||
---@param seconds number
|
||||
---@param callback function
|
||||
---@param repetitions number?
|
||||
---@return Timer
|
||||
NewTimer = function(seconds, callback) end,
|
||||
NewTimer = function(seconds, callback, repetitions) end,
|
||||
|
||||
---Schedules a repeating timer that can be canceled.
|
||||
---@param seconds number
|
||||
|
Reference in New Issue
Block a user