You are reading the documentation for the next version of discord.js. Documentation for v13/v14+ has been moved to old.discordjs.dev

BaseBrokerOptions

export declare interface BaseBrokerOptions
export declare interface BaseBrokerOptions
Base options for a broker implementation
blockTimeout?:number
How long to block for messages when polling
decode?:(data: Buffer_2) => unknown
Function to use for decoding messages
encode?:(data: unknown) => Buffer_2
Function to use for encoding messages
maxChunk?:number
Max number of messages to poll at once
name?:string
Unique consumer name.