PerformanceTimelineDomain

Reporting of performance timeline events, as specified in https://w3c.github.io/performance-timeline/#dom-performanceobserver.

Official doc

Functions

Link copied to clipboard
suspend fun enable(eventTypes: List<String>): EnableResponse
suspend fun enable(input: EnableRequest): EnableResponse

Previously buffered events would be reported before method returns. See also: timelineEventAdded

Link copied to clipboard

Subscribes to all events related to this domain.

Link copied to clipboard

Sent when a performance timeline event is added. See reportPerformanceTimeline method.