AsyncHelpers.

RunSync<T>(Func<Task<T>>) Method

Assembly
Cake.DocumentDb.dll
Namespace
Cake.DocumentDb
Containing Type
AsyncHelpers

Syntax

public static T RunSync<T>(Func<Task<T>> task)

Type Parameters

Name Description
T

Parameters

Name Type Description
task Func<Task<T>>

Return Value

Type Description
T