Table of Contents

Method Sync

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Sync(Func<Task>)

Runs the specified task synchroniously.

public static void Sync(Func<Task> func)

Parameters

func Func<Task>

Sync<T>(Func<Task<T>>)

Runs the specified task synchroniously and returns result.

public static T Sync<T>(Func<Task<T>> func)

Parameters

func Func<Task<T>>

Returns

T

Type Parameters

T