public static Task<T> Run<T>( Func<T> function, CancellationToken cancellationToken )
Public Overloads Shared Function Run(Of T)( _ ByVal function As Func(Of T), _ ByVal cancellationToken As CancellationToken _ ) As Task(Of T)
Parameters
- function
- cancellationToken
Type Parameters
- T