Mbind
Bun

method

perf_hooks.PerformanceObserver.bind

bind<Func extends (...args: any[]) => any>(
fn: Func
): Func;

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

@param fn

The function to bind to the current AsyncResource.