Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IFunctionObserver

Properties of a named function observer that was created with the PerformanceApi.watch function.

Hierarchy

Index

Properties

entries

A collection of performance data captured by the node performance observer.

isConnected

isConnected: boolean

Is the current node performance observer connected. If it is not connected, then a new one must be created to continue collection under this observer.

observer

The underlying performance observer responsible for collecting metrics.

originalFunction

originalFunction: function

The original function that was watched. Used by PerformanceApi.unwatch to reinstate the original function when requested.

Type declaration

    • (...args: any[]): any
    • Parameters

      • Rest ...args: any[]

      Returns any

Generated using TypeDoc