Skip to main content

Interface: AwaitMessagesOptions

structures/Collector.AwaitMessagesOptions

Options to be applied to the collector.

Hierarchy

Properties

dispose

Optional dispose: boolean

Whether to dispose data when it's deleted

Inherited from

CollectorOptions.dispose


errors

Optional errors: string[]

An array of "reasons" that would result in the awaitMessages command to throw an error.


idle

Optional idle: number

Max time allowed idle

Inherited from

CollectorOptions.idle


max

Optional max: number

The maximum amount of items to collect

Inherited from

CollectorOptions.max


maxProcessed

Optional maxProcessed: number

The maximum amount of items to process

Inherited from

CollectorOptions.maxProcessed


time

Optional time: number

Max time to wait for items in milliseconds

Inherited from

CollectorOptions.time