About 51 results
Open links in new tab
  1. c# - How and when to use ‘async’ and ‘await’ - Stack Overflow

    Jan 22, 2013 · If every async method need to have an await inside of it, and a await can only be done on a methods with async, when does it stop?

  2. Understanding async / await in C# - Stack Overflow

    I'm starting to learn about async / await in C# 5.0, and I don't understand it at all. I don't understand how it can be used for parallelism. I've tried the following very basic program: …

  3. Como eu posso utilizar o async/await do javascript?

    Jun 8, 2017 · Vi que agora é possível utilizar as keywords async e await no javascript, mas como isso realmente funciona?

  4. c# - await await vs Unwrap () - Stack Overflow

    Jan 16, 2016 · await ActionAsync().Unwrap(); is definitely easier to read between the two. That's about where the differences end.

  5. Using async/await with a forEach loop - Stack Overflow

    Are there any issues with using async/await in a forEach loop? I'm trying to loop through an array of files and await on the contents of each file. import fs from 'fs-promise' async function print...

  6. When and why should I use ConfigureAwait(false) in C# async/await?

    Dec 16, 2025 · The reason for the deadlock is that the continuation after the await client.GetStringAsync will be posted to the UI message loop, but the message loop is stopped, …

  7. How can I use async/await at the top level? - Stack Overflow

    Use top-level await (proposal, MDN; ES2022, broadly supported in modern environments) that allows top-level use of await in a module. or Use a top-level async function that never rejects …

  8. Call async/await functions in parallel - Stack Overflow

    await someCall(); await anotherCall(); Do I understand it correctly that anotherCall() will be called only when someCall() is completed? What is the most elegant way of calling them in parallel? I …

  9. Simplest async/await example possible in Python

    Jun 8, 2018 · I've read many examples, blog posts, questions/answers about asyncio / async / await in Python 3.5+, many were complex, the simplest I found was probably this one. Still it …

  10. c# - async await return Task - Stack Overflow

    At each await keyword, the state of variables and the stack will be preserved in the fields of the class, the class will add itself as a completion hook to the task you are waiting on, then return.