lndsld

Home > @lndsld/react-hooks > IntervalAPI

IntervalAPI interface

Declaration of API to control interval

Signature:

export interface IntervalAPI 

Properties

Property Type Description
start (delay: number) => () => void Start interval (restart if already started)
stop () => void Stop interval