Interface: AwaitMessagesOptions
structures/Collector.AwaitMessagesOptions
Options to be applied to the collector.
Hierarchy
↳
AwaitMessagesOptions
Properties
dispose
• Optional
dispose: boolean
Whether to dispose data when it's deleted
Inherited from
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
max
• Optional
max: number
The maximum amount of items to collect
Inherited from
maxProcessed
• Optional
maxProcessed: number
The maximum amount of items to process
Inherited from
time
• Optional
time: number
Max time to wait for items in milliseconds