Share via


SyncTaskScheduler.Invoke<T>(Func<T>) Method

Definition

public System.Threading.Tasks.Task<T> Invoke<T> (Func<T> func);
member this.Invoke : Func<'T> -> System.Threading.Tasks.Task<'T>
Public Function Invoke(Of T) (func As Func(Of T)) As Task(Of T)

Type Parameters

T

Parameters

func
Func<T>

Returns

Task<T>

Applies to