Asynchronous Processing

async/await

English

Overview

Syntax that lets you write asynchronous code that reads like synchronous code.

Details

Syntactic sugar that lets Promise-based asynchronous code be written to look like synchronous code, greatly improving readability. Under the hood it's still Promises -- an await expression suspends that function's execution until the Promise resolves, but it doesn't block the calling thread itself, which remains free to run other work.

More Programming terms