IExecuteScoped<T>.

Invoke<TResult>(Func<T, Task<TResult>>) Method

Summary

Invoke the specified async action returning the given result with with the scoped dependency

Syntax

Task<TResult> Invoke<TResult>(Func<T, Task<TResult>> action)

Type Parameters

Name Description
TResult

Parameters

Name Type Description
action Func<T, Task<TResult>>

Return Value

Type Description
Task<TResult>