Delegate AsyncEventHandler<TEventArgs>
An asynchronous event handler.
public delegate ValueTask AsyncEventHandler<in TEventArgs>(object? sender, TEventArgs args)
Parameters
sender
objectThe sender of the event.
args
TEventArgsEvent arguments.
Returns
- ValueTask
A value task whose completion signals handling is finished.
Type Parameters
TEventArgs
The type of event arguments.