Async return types (C#) | Microsoft Docs
docs.microsoft.com › en-us › dotnetNov 05, 2021 · Async methods can have the following return types: Task, for an async method that performs an operation but returns no value. Task<TResult>, for an async method that returns a value. void, for an event handler. Starting with C# 7.0, any type that has an accessible GetAwaiter method. The object returned by the GetAwaiter method must implement ...