Home > @lndsld/react-hooks > IntervalAPI
Declaration of API to control interval
Signature:
export interface IntervalAPI
Property | Type | Description |
---|---|---|
start | (delay: number) => () => void | Start interval (restart if already started) |
stop | () => void | Stop interval |