Show / Hide Table of Contents

Method InvokeAsync

| Improve this Doc View Source

InvokeAsync(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
  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest