Method InvokeAsync
| Improve this Doc View SourceInvokeAsync(Task, Action<T>, Action<T>)
Executes the action asynchronously and notifies the addon objects.
Declaration
protected Task InvokeAsync(Task action, Action<T> onExecuting, Action<T> onExecuted)
Parameters
Type | Name | Description |
---|---|---|
System.Threading.Tasks.Task | action | The action to be executed asynchronously. |
System.Action<T> | onExecuting | Receives the notification before action executing. |
System.Action<T> | onExecuted | Receives the notification after action executed. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |