Skip to content
#

xmlhttprequest

Here are 194 public repositories matching this topic...

prabirshrestha
prabirshrestha commented Sep 29, 2017

https://developers.google.com/web/updates/2017/09/abortable-fetch

Currently it is only implemented in Firefox 57 and is coming to other browsers soon.

const controller = new AbortController();
const signal = controller.signal;

setTimeout(() => controller.abort(), 5000);

fetch(url, { signal }).then(response => {
  return response.text();
}).then(text => {
  console.lo

Improve this page

Add a description, image, and links to the xmlhttprequest topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the xmlhttprequest topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.