| 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
Syntaxpublic static T WaitForAsyncTask<T>(
Func<Task<T>> func
)
Parameters
- func
- Type: SystemFuncTaskT
async function to await
Type Parameters
- T
- Return type
Return Value
Type:
TResult of async method call
See Also