Click or drag to resize

ControllerBaseWaitForAsyncTaskT Method

Use this to invoke and await and async operation Function configures awaiter to avoid blocking operations

Namespace:  Omada.OE.AppLogic
Assembly:  Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
public static T WaitForAsyncTask<T>(
	Func<Task<T>> func
)

Parameters

func
Type: SystemFuncTaskT
async function to await

Type Parameters

T
Return type

Return Value

Type: T
Result of async method call
See Also