var controller = new AbortController();var signal = controller.signal;signal.onabort = function() { console.log('Fetch Request aborted');};