Skip to main content

registerTimer

FitFileViewer - API Documentation v29.4.0


FitFileViewer - API Documentation / utils/app/lifecycle/resourceManager / registerTimer

Variable: registerTimer()

registerTimer: (timerId: number, options?: { owner?: string; id?: string; }) => string

Defined in: utils/app/lifecycle/resourceManager.js:451

Register a timer for automatic cleanup

Parameters​

timerId​

number

Timer ID from setTimeout

options?​

Optional configuration

owner?​

string

Owner/component identifier

id?​

string

Custom ID

Returns​

string

Resource ID