runFuncAsync

runFuncAsync

Function
runFuncAsync(timeoutnumber, useFakeTimers?boolean): (callbackany, argsany[]) => Promise<unknown>
Parameters
ParameterTypeDefault
timeout
number
0
useFakeTimers
boolean
Returns 
(callbackany, argsany[]) => Promise<unknown>
    function(callbackany, argsany[]): Promise<unknown>
    Parameters
    ParameterType
    callback
    any
    args
    any[]
    Returns 
    Promise<unknown>

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.