> For the complete documentation index, see [llms.txt](https://minwork.gitbook.io/react-interval-hook/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://minwork.gitbook.io/react-interval-hook/advanced/interval.md).

# Interval

*useInterval(callback, **interval** \[, options]): controls*

#### Type

`number`

#### Default value

`1000`

#### Description

Amount of milliseconds between each [callback](/react-interval-hook/advanced/callback.md).

{% hint style="warning" %}
Callbacks **are not** guaranteed to be called exactly after specified amount. For more info see [self correction](/react-interval-hook/advanced/options/configuration/self-correction.md) and [callback](/react-interval-hook/advanced/callback.md). For explanation why, see [this page](https://stackoverflow.com/questions/29971898/how-to-create-an-accurate-timer-in-javascript/29972322#29972322).
{% endhint %}
