...

/

When to Use Promise.race()

When to Use Promise.race()

Learn how Promise.race() can be used as a timeout for an operation.

We'll cover the following...

Establishing a timeout for an operation

While the fetch() function has a lot of helpful functionalities, one thing it doesn’t do is manage a timeout for a given request; a request will happily hang until it completes one way or ...

Access this course and 1400+ top-rated courses and projects.