Skip to content

Glossary: TypeScript Beyond the Basics

AbortSignal.timeout

Also written: AbortSignal

A signal you pass to `fetch` that cancels the request if no answer arrives within the given milliseconds. The failure is an Error named `TimeoutError`.

Where the book teaches it

Related terms

Timeoutfetch