skip to Main Content

JavaScript event loop does NOT "run to completion"

According to MDN, messages in the JavaScript event loop "run to completion". (https://developer.mozilla.org/docs/Web/JavaScript/Event_loop#run-to-completion) But I have created a case where this does not seem to happen. abortController1 = new AbortController() abortController2 = new AbortController() abortController1.signal.addEventListener("abort", () => { console.log("abort 1…

VIEW QUESTION
Back To Top
Search