Abstract
Protected
boundBound function for item receiving
Readonly
clientReadonly
entriesCollection of successfully collected entries
Whether the collector is actively collecting elements
Protected
maxTimeout for max time
Protected
resolveMethod to resolve the promise this collector has when instantiated
Abstract
_cleanupProtected
decrementAbstract
hookProtected
incrementStart the collector
A promise that resolves with a CollectorReturnValue
object
Generated using TypeDoc
A collector is just a wrapper over a set of events for collecting a structure. Commonly used for things like Message or MessageReaction collecting, collectors allow you to have your code wait until further input from a user.