Interval

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

Type

number

Default value

1000

Description

Amount of milliseconds between each callback.

Callbacks are not guaranteed to be called exactly after specified amount. For more info see self correction and callback. For explanation why, see this page.

Last updated