Method Sync
Sync(Func<Task>)
Runs the specified task synchroniously.
public static void Sync(Func<Task> func)
Parameters
Sync<T>(Func<Task<T>>)
Runs the specified task synchroniously and returns result.
public static T Sync<T>(Func<Task<T>> func)
Parameters
Returns
- T
Type Parameters
T