Table of Contents

Class EventWaiter<T>

Namespace
DSharpPlus.Clients
Assembly
DSharpPlus.dll

Provides a mechanism to wait for an instance of an event matching the specified condition.

public sealed record EventWaiter<T> where T : DiscordEventArgs

Type Parameters

T
Inheritance
EventWaiter<T>

Properties

CompletionSource

An awaitable task completion source for this event waiter.

Condition

The condition an event needs to meet before it is considered to fulfil this event waiter.

Id

The tracking identifier for this waiter.

Task

An awaitable task for this event waiter.

Timeout

The timeout for this event waiter.