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,
Stops consuming events and close the underlying Redis connection if necessary.
Force disconnects a connection.
Emits an event. Normally used by subclasses to emit events.
Manually starts running the event consumming loop. This shall be used if you do not use the default "autorun" option on the constructor.
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 QueueEvents class is used for listening to the global events emitted by a given queue.
This class requires a dedicated redis connection.