Struct EventWaiterResult<T>
- Namespace
- DSharpPlus.Clients
- Assembly
- DSharpPlus.dll
Represents either the received event or an indication that the event waiter timed out.
public readonly record struct EventWaiterResult<T> where T : DiscordEventArgs
Type Parameters
T
Properties
- TimedOut
Indicates that this event waiter timed out.
- Value
The event this event waiter sought to receive.
Methods
- FromTimedOut()
Creates a new result that indicates having timed out.