BaseBrokerOptions

export interface BaseBrokerOptions
export interface BaseBrokerOptions
Base options for a broker implementation
decode?:(data: Buffer) => unknown
Function to use for decoding messages
encode?:(data: unknown) => Buffer
Function to use for encoding messages