AsyncHelper Class

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

Provides helper method to call awaitable methods from a synchronous environment. https://stackoverflow.com/a/40120697

public static class AsyncHelper
Inheritance:
System.Object → AsyncHelper

Methods

RunSync(Func) Executes an async System.Threading.Tasks.Task%601 method which has a void return value synchronously.
RunSync(Func>) Executes an async System.Threading.Tasks.Task%601 method which has a TResult return type synchronously