Interview Hub
Sign in

Q24: What is `AbortController`?

EasyWeb APIs 29

Answer

Web-standard API to signal cancellation to fetch, streams, or your own async work via AbortSignal. Passing signal to fetch aborts the request; combine with timeouts for robust clients.

Having a tech or coding interview? Check 29 JavaScript & Node.js interview questions.

Source: MDN — AbortController

EditorJavaScript · local only