update docs

This commit is contained in:
bol-van
2026-04-30 17:00:44 +03:00
parent b3be87fd7c
commit 7a69d56a4b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2424,7 +2424,7 @@ function timer_set(name, func, period, oneshot, data)
* name - a unique timer name. If a timer with this name already exists, it is deleted and replaced with a new one. When replaced, the countdown restarts.
* func - the timer function name (string)
* period - the timer call frequency in milliseconds (see [timer resolution](#timers))
* period - the timer call frequency in milliseconds
* oneshot - a bool indicating whether the timer is single-shot (true) or periodic (false)
* data - an arbitrary variable passed to the [timer-function](#timer-function-prototype)
+1 -1
View File
@@ -2584,7 +2584,7 @@ function timer_set(name, func, period, oneshot, data)
* name - уникальное имя таймера. если таймер с таким именем уже есть, он удаляется и замещается новым. При замещении отсчет времени начинается заново.
* func - имя таймер функции (string)
* period - периодичность вызова таймера в миллисекундах (см. [разрешение таймеров](#таймеры))
* period - периодичность вызова таймера в миллисекундах
* oneshot - bool признак является ли таймер однократным (true) или периодическим (false)
* data - произвольная переменная, передаваемая [таймер-функции](#прототип-функции-таймера)