async function
Also written: async, await
A function marked `async` always returns a promise, and `await` unwraps it to get the value. In TypeScript, such a function's return type is written `Promise<T>`.
Also written: async, await
A function marked `async` always returns a promise, and `await` unwraps it to get the value. In TypeScript, such a function's return type is written `Promise<T>`.