Skip to main content
Version: v1

IPerformanceEventMarkers Interface

Describes what events PerformanceEvent should log By default, all events are logged, but client can override this behavior For example, there is rarely a need to record start event, as we really after success / failure tracking, including duration (on success).

Signature​

export interface IPerformanceEventMarkers

Properties​

PropertyModifiersTypeDescription
canceloptional"generic" | "error"
endoptionaltrue
startoptionaltrue

Property Details​

cancel​

Signature​

cancel?: "generic" | "error";

Type: "generic" | "error"

end​

Signature​

end?: true;

Type: true

start​

Signature​

start?: true;

Type: true