Bridge

Task..::..Run<(Of <(<'TResult>)>)> Method (Func<(Of <(<'TResult>)>)>)

Namespace:  System.Threading.Tasks
Assembly:  Bridge (in Bridge.dll)

Syntax


public static Task<TResult> Run<TResult>(
	Func<TResult> function
)
Public Shared Function Run(Of TResult) ( _
	function As Func(Of TResult) _
) As Task(Of TResult)
public:
generic<typename TResult>
static Task<TResult>^ Run(
	Func<TResult>^ function
)

Type Parameters

TResult

Parameters

function
Type: System..::..Func<(Of <(<'TResult>)>)>