Skip to main content

withPerformanceMonitoring

FitFileViewer - API Documentation v29.4.0


FitFileViewer - API Documentation / utils/debug/stateDevTools / withPerformanceMonitoring

Function: withPerformanceMonitoring()

withPerformanceMonitoring(name: string, fn: Function): Function

Defined in: utils/debug/stateDevTools.js:642

Create a performance-monitored version of a function

Parameters​

name​

string

Function name for monitoring

fn​

Function

Function to wrap

Returns​

Function

Wrapped function