* Registers a callback to be notified of performance metric updates. * Callback is invoked every frame with the latest metrics. * * @param callback - Function to call with updated metrics * @returns Unsubscribe function to remove the callback
(callback: (metrics: Readonly<PerformanceMetrics>) => void)
| 114 | * @returns Unsubscribe function to remove the callback |
| 115 | */ |
| 116 | onPerformanceUpdate(callback: (metrics: Readonly<PerformanceMetrics>) => void): () => void; |
| 117 | } |
| 118 | |
| 119 | // Type-only alias so callsites can write `ChartGPU[]` for chart instances (while `ChartGPU` the value |
no outgoing calls
no test coverage detected