EN
function runWithTimeout<T>( run, timeoutMs, createError ): Promise<T>;
T
run
Promise
timeoutMs
number
createError
Error
Promise<T>