c

fs2.internal.jsdeps.node.perfHooksMod

PerformanceObserver

class PerformanceObserver extends AsyncResource

Annotations
@JSType() @JSImport("perf_hooks", "PerformanceObserver") @native()
Source
perfHooksMod.scala
Linear Supertypes
AsyncResource, StObject, Object, Any, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PerformanceObserver
  2. AsyncResource
  3. StObject
  4. Object
  5. Any
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new PerformanceObserver(callback: PerformanceObserverCallback)
  2. new PerformanceObserver()
    Attributes
    protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def asyncId(): Double

    returns

    the unique ID assigned to this AsyncResource instance.

    Definition Classes
    AsyncResource
  6. def bind[Func](fn: Func): Func with AsyncResource

    Binds the given function to execute to this AsyncResource's scope.

    Binds the given function to execute to this AsyncResource's scope.

    fn

    The function to bind to the current AsyncResource.

    Definition Classes
    AsyncResource
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  8. def disconnect(): Unit

    Disconnects the PerformanceObserver instance from all notifications.

  9. def emitDestroy(): PerformanceObserver.this.type

    Call AsyncHooks destroy callbacks.

    Call AsyncHooks destroy callbacks.

    Definition Classes
    AsyncResource
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  13. def hasOwnProperty(v: scala.Predef.String): Boolean
    Definition Classes
    Object
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  20. def observe(options: TypeEntryType): Unit
  21. def observe(options: EntryTypes): Unit

    Subscribes the PerformanceObserver instance to notifications of new PerformanceEntry instances identified by options.entryTypes or options.type.

    Subscribes the PerformanceObserver instance to notifications of new PerformanceEntry instances identified by options.entryTypes or options.type. When options.buffered is false, the callback will be invoked once for every PerformanceEntry instance.

  22. def propertyIsEnumerable(v: scala.Predef.String): Boolean
    Definition Classes
    Object
  23. def runInAsyncScope[This, Result](fn: ThisFunction1[This, Any, Result], thisArg: Unit, args: Any*): Result
    Definition Classes
    AsyncResource
  24. def runInAsyncScope[This, Result](fn: ThisFunction1[This, Any, Result], thisArg: This, args: Any*): Result

    Call the provided function with the provided arguments in the execution context of the async resource.

    Call the provided function with the provided arguments in the execution context of the async resource. This will establish the context, trigger the AsyncHooks before callbacks, call the function, trigger the AsyncHooks after callbacks, and then restore the original execution context.

    fn

    The function to call in the execution context of this async resource.

    thisArg

    The receiver to be used for the function call.

    args

    Optional arguments to pass to the function.

    Definition Classes
    AsyncResource
  25. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  26. def toLocaleString(): scala.Predef.String
    Definition Classes
    Object
  27. def toString(): java.lang.String
    Definition Classes
    AnyRef → Any
  28. def triggerAsyncId(): Double

    returns

    the trigger ID for this AsyncResource instance.

    Definition Classes
    AsyncResource
  29. def valueOf(): Any
    Definition Classes
    Object
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AsyncResource

Inherited from StObject

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped