C# Class Methods.ActorModel.SynchronizationContextExtensions

显示文件 Open project: Strilanc/Methods

Public Methods

Method Description
GetAwaiter ( this context ) : SynchronizationContextAwaiter

Resumes execution in the given synchronization context, when awaited. If execution is already in the given context, it will re-enter it.

Method Details

GetAwaiter() public static method

Resumes execution in the given synchronization context, when awaited. If execution is already in the given context, it will re-enter it.
public static GetAwaiter ( this context ) : SynchronizationContextAwaiter
context this
return SynchronizationContextAwaiter