We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13b2a30 commit 8db2c11Copy full SHA for 8db2c11
lua/opencode/ui/timer.lua
@@ -1,9 +1,9 @@
1
---@class TimerOptions
2
---@field interval number The interval in milliseconds
3
---@field on_tick function The function to call on each tick
4
----@field on_stop function The function to call when the timer stops
5
----@field repeat_timer boolean Whether the timer should repeat (default: true)
6
----@field args table Optional arguments to pass to the on_tick function
+---@field on_stop? function The function to call when the timer stops
+---@field repeat_timer? boolean Whether the timer should repeat (default: true)
+---@field args? table Optional arguments to pass to the on_tick function
7
8
local Timer = {}
9
Timer.__index = Timer
0 commit comments