Enhance C_Timer documentation by adding optional repetitions parameter to NewTimer function

This commit is contained in:
2025-05-18 10:18:39 +02:00
parent ff89e99749
commit e045572f60

View File

@@ -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