Returns a promise that resolves after the specified time interval and throws an error if the specified promise does not resolve before the timeout interval.
The promise to be resolved.
The time interval in milliseconds.
A promise that resolves after the specified time interval.
if the specified promise does not resolve before the timeout interval.
Generated using TypeDoc
Returns a promise that resolves after the specified time interval and throws an error if the specified promise does not resolve before the timeout interval.