Class EventCollector<T>
- Namespace
- DSharpPlus.Clients
- Assembly
- DSharpPlus.dll
Provides a mechanism to collect instances of a specified event matching a certain condition over a specified amount of time
public sealed record EventCollector<T> where T : DiscordEventArgs
Type Parameters
T
- Inheritance
-
EventCollector<T>
Properties
- Condition
The condition an event needs to meet before it is considered to fulfil this event collector.
- Id
The tracking identifier for this collector.
- Task
An awaitable task for this event collector.
- Timeout
The timeout for this event collector.