Skip to content

ui-router-devtools / performance / reportToPerformance

Function: reportToPerformance() ​

ts
function reportToPerformance(source): () => void;

Defined in: ui-router-devtools/src/performance.ts:124

Writes settled transitions as User Timing track entries for the Performance panel; with a recorder it keeps reporting until the returned function is called.

Parameters ​

ParameterType
source| readonly RouterEvent[] | Recorder

Returns ​

() => void