Table of Contents

Method CollectEventArgsAsync

Namespace
DSharpPlus.Interactivity
Assembly
DSharpPlus.Interactivity.dll

CollectEventArgsAsync<T>(Func<T, bool>, TimeSpan?)

public Task<ReadOnlyCollection<T>> CollectEventArgsAsync<T>(Func<T, bool> predicate, TimeSpan? timeoutoverride = null) where T : AsyncEventArgs

Parameters

predicate Func<T, bool>
timeoutoverride TimeSpan?

Returns

Task<ReadOnlyCollection<T>>

Type Parameters

T