Table of Contents

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

task Task<T>

The task to get result from.

Returns

T

The result of the task.

Type Parameters

T

The type of the result.