ReadonlynameReadonlyqualifiedOptional ReadonlyscriptsReturns a promise that resolves to a redis client. Normally used only by subclasses.
Returns the database type of the Redis instance the client is connected to,
Returns the version of the Redis instance the client is connected to,
Emits an event. Normally used by subclasses to emit events.
The emitted event.
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
OptionalsrcPropagationMetadata: string
The long-lived Scripts instance shared by the queue. Jobs reuse this instance instead of allocating their own, since it is bound to the same queue keys and connection. Optional only so that custom queue-like implementations remain valid; the built-in Queue, Worker and FlowProducer always provide one so no redundant Scripts is created per job.