Delegate AsyncEventHandler<TEventArgs>
- Namespace
- Savvyio
- Assembly
- Savvyio.Core.dll
Represents the method that will handle an event when the event provides data asynchronously.
public delegate Task AsyncEventHandler<in TEventArgs>(object sender, TEventArgs e)
where TEventArgs : EventArgs;
Parameters
sender
ObjectThe source of the event.
e
TEventArgsAn object that contains the event data.
Returns
- Task
A task that represents the asynchronous operation.
Type Parameters
TEventArgs
The type of the event data generated by the event.