interface Intervals { clear(name: string): void; get(name: string): undefined | Timeout; set(name: string, callback: () => void, interval: number): Timeout;} Methods
clear
- clear(name: string): void
Returns void
get
- get(name: string): undefined | Timeout
Returns undefined | Timeout
set
- set(name: string, callback: () => void, interval: number): Timeout
Parameters
- name: string
- callback: () => void
- interval: number
Returns Timeout
Interface for interval management functionality