Class DefaultEventDispatcher
- Namespace
- DSharpPlus.Clients
- Assembly
- DSharpPlus.dll
The default DSharpPlus event dispatcher, dispatching events asynchronously and using a shared scope. Catch-all event handlers referencing DiscordEventArgs are supported.
public sealed class DefaultEventDispatcher : IEventDispatcher
- Inheritance
-
objectDefaultEventDispatcher
- Implements
Constructors
Methods
- DispatchAsync<T>(DiscordClient, T)
Dispatches the given event.
- Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.