Skip to main content

cancelIdleCallback

FitFileViewer - API Documentation v30.0.1


FitFileViewer - API Documentation / utils/app/performance/performanceUtils / cancelIdleCallback

Function: cancelIdleCallback()

cancelIdleCallback(id: PerformanceUtilsTimerHandle): void

Defined in: utils/app/performance/performanceUtils.ts:91

Cancel an idle callback, falling back to timeout cancellation when the browser idle-callback API is unavailable.

Parameters​

id​

PerformanceUtilsTimerHandle

Returns​

void