ThenAsync<T, TResult>(Task<T>, Func<T, TResult>) Method
Namespace
Statiq.Common
Containing Type
AsyncExtensions

Syntax

public static Task<TResult> ThenAsync<T, TResult>(this Task<T> task, Func<T, TResult> func)

Type Parameters

Name Description
T
TResult

Parameters

Name Type Description
task Task<T>
func Func<T, TResult>

Return Value

Type Description
Task<TResult>