Interface IAsync
- Namespace
- SunamoInterfaces.Interfaces
- Assembly
- SunamoInterfaces.dll
Interface for asynchronous task result retrieval.
public interface IAsync
- Extension Methods
Methods
GetResult<T>(Task<T>)
Gets the result from a task synchronously.
T GetResult<T>(Task<T> task)
Parameters
taskTask<T>The task to get result from.
Returns
- T
The result of the task.
Type Parameters
TThe type of the result.