AsyncHelpers.AwaitAwaiter<TAwaiter>(TAwaiter) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Note
To use this preview API, you must enable preview features in your project by setting the EnablePreviewFeatures
property to True
in your project file. For more information, see https://aka.ms/dotnet-preview-features.
public:
generic <typename TAwaiter>
where TAwaiter : System::Runtime::CompilerServices::INotifyCompletion static void AwaitAwaiter(TAwaiter awaiter);
[System.Runtime.Versioning.RequiresPreviewFeatures]
public static void AwaitAwaiter<TAwaiter>(TAwaiter awaiter) where TAwaiter : System.Runtime.CompilerServices.INotifyCompletion;
[<System.Runtime.Versioning.RequiresPreviewFeatures>]
static member AwaitAwaiter : 'Awaiter -> unit (requires 'Awaiter :> System.Runtime.CompilerServices.INotifyCompletion)
Public Shared Sub AwaitAwaiter(Of TAwaiter As INotifyCompletion) (awaiter As TAwaiter)
Type Parameters
- TAwaiter
Parameters
- awaiter
- TAwaiter
- Attributes