Returns a promise that rejects with an error after a specified timeout.
The number of milliseconds to wait before rejecting the promise.
A promise that rejects with an Error indicating the timeout duration.
Error
2.0.6
2020-06-02
Returns a promise that rejects with an error after a specified timeout.