setInterval

preview_player
Показать описание
Repeatedly call a function at a set interval.
Рекомендации по теме