PerformanceObserverEntryList

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun getEntries(): ERROR CLASS: Symbol not found for js.array.ReadonlyArray<node/perfHooks/PerformanceEntry>

Returns a list of PerformanceEntry objects in chronological order with respect to performanceEntry.startTime.

Link copied to clipboard
fun getEntriesByName(name: String, type: EntryType = definedExternally): ERROR CLASS: Symbol not found for js.array.ReadonlyArray<node/perfHooks/PerformanceEntry>

Returns a list of PerformanceEntry objects in chronological order with respect to performanceEntry.startTime whose performanceEntry.name is equal to name, and optionally, whose performanceEntry.entryType is equal totype.

Link copied to clipboard
fun getEntriesByType(type: EntryType): ERROR CLASS: Symbol not found for js.array.ReadonlyArray<node/perfHooks/PerformanceEntry>

Returns a list of PerformanceEntry objects in chronological order with respect to performanceEntry.startTime whose performanceEntry.entryType is equal to type.