Extensions.Synchronize 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.
Overloads
Synchronize(Func<Task>) | |
Synchronize<TResult>(Func<Task<TResult>>) |
Synchronize(Func<Task>)
Synchronize<TResult>(Func<Task<TResult>>)
public static TResult Synchronize<TResult> (Func<System.Threading.Tasks.Task<TResult>> function);
static member Synchronize : Func<System.Threading.Tasks.Task<'Result>> -> 'Result
Public Function Synchronize(Of TResult) (function As Func(Of Task(Of TResult))) As TResult
Type Parameters
- TResult
Parameters
Returns
TResult