Funzione statica
Veloce
Timer.SetInterval
Same as SetTimeout(), but repeats the execution of the function continuously
Non ancora tradotto
Sintassi
Timer.SetInterval(callback, milliseconds = 0, parameters... = nil)
Parametri
| Nome | Tipo | Predefinito | Descrizione |
|---|---|---|---|
callback
|
function | — | The callback that will be executed.<br/>Return false to stop it from being called. |
milliseconds
facoltativo
|
integer | 0 |
The time in milliseconds the timer should delay in between executions of the specified function |
parameters...
facoltativo
|
any | nil |
Additional parameters to pass to the function |
Valore restituito
- integer the interval_id