Optional
Connection: typeof RedisConnectionReadonly
nameThe name of the queue.
Options for the queue.
Readonly
qualifiedReturns a promise that resolves to a redis client. Normally used only by subclasses.
Returns the version of the Redis instance the client is connected to,
Closes the connection and returns a promise that resolves when the connection is closed.
Force disconnects a connection.
Emits an event. Normally used by subclasses to emit events.
The emitted event.
Publish custom event to be processed in QueueEvents.
Event payload
Max quantity of events to be saved
Wraps the code with telemetry and provides a span for configuration.
kind of the span: Producer, Consumer, Internal
operation name (such as add, process, etc)
destination name (normally the queue name)
code to wrap with telemetry
Optional
srcPropagationMetadata: string
The QueueEventsProducer class is used for publishing custom events.