/
docs
/
packages
/
brokers
/
main
/
RedisBrokerOptions%3AInterface
Search...
K
brokers
discord.js
brokers
builders
collection
core
formatters
next
proxy
rest
util
voice
ws
main
main
Classes
BaseRedisBroker
PubSubRedisBroker
RPCRedisBroker
Interfaces
BaseBrokerOptions
IBaseBroker
IPubSubBroker
IRPCBroker
RedisBrokerOptions
RPCRedisBrokerOptions
Types
ToEventMap
Variables
DefaultBrokerOptions
DefaultRedisBrokerOptions
DefaultRPCRedisBrokerOptions
version
RedisBrokerOptions
export interface
RedisBrokerOptions
extends
BaseBrokerOptions
export interface
RedisBrokerOptions
extends
BaseBrokerOptions
Summary
Options specific for a Redis broker
Extends
BaseBrokerOptions
Properties
blockTimeout?
:
number
How long to block for messages when polling
decode?
:
(data:
Buffer
) =>
unknown
Function to use for decoding messages
Inherited from
BaseBrokerOptions
encode?
:
(data:
unknown
) =>
Buffer
Function to use for encoding messages
Inherited from
BaseBrokerOptions
group
:
string
Consumer group name to use for this broker
See Also
https://redis.io/commands/xreadgroup/
maxChunk?
:
number
Max number of messages to poll at once
name?
:
string
Unique consumer name.
See Also
https://redis.io/commands/xreadgroup/