title: Proper way to Abort (stop) running async/await function?
body: <p>There has been other topics on SE, but most of them are dated 5 years ago. What is the current, up-to-date approach to cancel await call in JS?  i.e.</p>
  <pre><code>async myFunc(){
      let response = await oneHourLastingFunction();
      myProcessData(response);
  }
  </code></pre>
  <p>at specific moment application decides it no longer want to wait that <code>oneHourLastingFunction</code>, but it is stuck in &quot;await&quot;. How to cancel that? Any standard ways of cancelation-tokens/<a href="https://javascript.plainenglish.io/canceling-javascript-async-tasks-with-abortcontroller-acda9f67f7e7" rel="nofollow noreferrer">abortControllers</a> for promises?</p>