Async Await is an actively used design pattern created in 2007. In computer programming, the async/await pattern is a syntactic feature of many programming languages that allows an asynchronous, non-blocking function to be structured in a way similar to an ordinary synchronous function. It is semantically related to the concept of a coroutine and is often implemented using similar techniques, but is primarily intended to provide opportunities for the program to execute other code while waiting for a long-running, asynchronous task to complete, usually represented by promises or similar data structures. The feature is found in C# 5.0, Python 3.5, Hack, Dart, Kotlin 1.1, and JavaScript, with some experimental work in extensions, beta versions, and particular implementations of Scala, Rust, and C++.. Read more on Wikipedia...

12Years Old
  • Async Await ranks in the top 50% of entities I track
  • the Async Await wikipedia page
  • Async Await first appeared in 2007
  • I have 17 facts about Async Await. what would you like to know? email me and let me know how I can help.

Languages with Async Await include csharp, javascript

Example from csharp:

public async Task<int> FindPageSize(Uri uri) 
{
    byte[] data = await new WebClient().DownloadDataTaskAsync(uri);
    return data.Length;
}

Example from javascript:

async doSomething => await somethingElse()

Last updated November 16th, 2019