Async/Await
Language features for pausing asynchronous work without blocking its thread.
What is Async/Await in C#?
Async/Await — Language features for pausing asynchronous work without blocking its thread.
class OrderService
{
async Task<string> LoadAsync(CancellationToken token)
{
await Task.Delay(100, token);
return "Ready";
}
}
Level: Master · More C# terms at this level
Updated