View source
typedef PerformanceObserverObserveOptions
package js.node.perf_hooks
import js.node.perf_hooks.PerformanceObserver
Options for PerformanceObserver.observe.
Fields
optionaltype:Null<PerformanceEntryType>
A single entry type. Must not be given if entryTypes is already specified.
optionalentryTypes:Null<Array<PerformanceEntryType>>
An array of strings identifying the types of instances the observer is interested in. If not provided an error will be thrown.
optionalbuffered:Null<Bool>
If true, the observer callback is called with a list of global PerformanceEntry
buffered entries. If false, only PerformanceEntrys created after the time point
are sent to the observer callback. Default: false.