Interface PerformanceTimelineAsync


public interface PerformanceTimelineAsync
Reporting of performance timeline events, as specified in https://w3c.github.io/performance-timeline/#dom-performanceobserver.
  • Method Summary

    Modifier and Type
    Method
    Description
    enable(List<String> eventTypes)
    Previously buffered events would be reported before method returns.
  • Method Details

    • enable

      CompletableFuture<Void> enable(List<String> eventTypes)
      Previously buffered events would be reported before method returns. See also: timelineEventAdded
      Parameters:
      eventTypes - The types of event to report, as specified in https://w3c.github.io/performance-timeline/#dom-performanceentry-entrytype The specified filter overrides any previous filters, passing empty filter disables recording. Note that not all types exposed to the web platform are currently supported.