Method DispatchAsync
- Namespace
 - DSharpPlus.Clients
 
- Assembly
 - DSharpPlus.dll
 
DispatchAsync<T>(DiscordClient, T)
Dispatches the given event.
ValueTask DispatchAsync<T>(DiscordClient client, T eventArgs) where T : DiscordEventArgs
Parameters
clientDiscordClientThe origin DiscordClient instance.
eventArgsTThe event to dispatch.
Returns
Type Parameters
TThe type of event to dispatch.