/
docs
/
packages
/
brokers
/
main
/
BaseBrokerOptions%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
BaseBrokerOptions
export interface
BaseBrokerOptions
export interface
BaseBrokerOptions
Summary
Base options for a broker implementation
Properties
decode?
:
(data:
Buffer
) =>
unknown
Function to use for decoding messages
encode?
:
(data:
unknown
) =>
Buffer
Function to use for encoding messages