PerformanceObserverConstructor
[<Interface>]
type PerformanceObserverConstructor =
abstract member Create (callback: PerformanceObserverCallback) : PerformanceObserver
abstract member bind<'Func, 'ThisArg> (fn: 'Func, ?type: string, ?thisArg: 'ThisArg) : 'Func| Assembly | Xantham.Fable.Node |
Methods
abstract member bind<'Func, 'ThisArg> (fn: 'Func, ?type: string, ?thisArg: 'ThisArg) : 'Func
abstract member bind<'Func, 'ThisArg> (fn: 'Func, ?type: string, ?thisArg: 'ThisArg) : 'FuncBinds the given function to the current execution context.
@since v14.8.0, v12.19.0
| Parameter | |
|---|---|
fn | The function to bind to the current execution context. |
type | An optional name to associate with the underlying AsyncResource. |