Mcall
Bun

method

util.CustomPromisifyLegacy.call

this: Function,
thisArg: any,
...argArray: any[]
): any;

Calls a method of an object, substituting another object for the current object.

@param thisArg

The object to be used as the current object.

@param argArray

A list of arguments to be passed to the method.