Class AsyncUtils
Contains methods and properties related to async execution and tasks.
public static class AsyncUtils
- Inheritance
-
AsyncUtils
Methods
- EndThread(ref Thread?)
Calls Interrupt() and clears ref parameter.
- Sync(Func<Task>)
Runs the specified task synchroniously.
- Sync<T>(Func<Task<T>>)
Runs the specified task synchroniously and returns result.