Skip to content

Glossary: JavaScript in the Browser

AbortController

Also written: abort(), AbortError

An object that makes a signal you can fire yourself. Passing its signal to fetch and calling abort() cancels the request, which is how the shop search drops the slow answer for "o" when "or" has been typed.

Where the book teaches it

Related terms

AbortSignal.timeoutfetchOut-of-date answers (race)