Question · JavaScript and TypeScript course · Module 4: Asynchronous JavaScript

AbortController

What is AbortController used for in the context of the Fetch API?

Answer options

  • For automatically retrying failed requests
  • For canceling ongoing HTTP requests
  • For caching server responses
  • For logging requests in the console

You can check the correct answer by solving this task in the CodeWorlds game.