Glossary: JavaScript in the Browser
AbortSignal.timeout
Also written: TimeoutError
Makes a signal that cancels a request after a set number of milliseconds. A fetch given this signal rejects with a TimeoutError if the server is too slow.
Glossary: JavaScript in the Browser
Also written: TimeoutError
Makes a signal that cancels a request after a set number of milliseconds. A fetch given this signal rejects with a TimeoutError if the server is too slow.