* refactor: clean to roadmap content * refactor: move shared helpers into scripts/lib
7 lines
439 B
Markdown
7 lines
439 B
Markdown
# setInterval
|
|
|
|
`setInterval()` repeatedly executes a function at a specified interval in milliseconds. It continues until `clearInterval()` is called with the returned ID. It is used for polling, animations, and periodic tasks, though `requestAnimationFrame` is preferred for visual updates.
|
|
|
|
Visit the following resources to learn more:
|
|
|
|
- [@article@Scheduling: setTimeout and setInterval](https://javascript.info/settimeout-setinterval) |