Skip to content

PerformanceObserverConstructor

[<Interface>]
type PerformanceObserverConstructor =
    abstract member Create (callback: PerformanceObserverCallback) : PerformanceObserver
    abstract member bind<'Func, 'ThisArg> (fn: 'Func, ?type: string, ?thisArg: 'ThisArg) : 'Func
AssemblyXantham.Fable.Node

Methods

abstract member Create (callback: PerformanceObserverCallback) : PerformanceObserver
abstract member bind<'Func, 'ThisArg> (fn: 'Func, ?type: string, ?thisArg: 'ThisArg) : 'Func

Binds the given function to the current execution context.

@since v14.8.0, v12.19.0

Parameter
fnThe function to bind to the current execution context.
typeAn optional name to associate with the underlying AsyncResource.