IRedisClient interface

The ioredis Redis client type augmented with the two internal bookkeeping flags imq stamps onto the connections it creates. Not intended for use as an option or parameter type by consumers.

Signature:

export interface IRedisClient extends Redis 

Extends: Redis

Properties

Property

Modifiers

Type

Description

__guarded__?

boolean

(Optional) Internal flag marking a connection whose socket has been given a durable error listener, so that the guard is installed at most once per connection. Not part of the supported API.

__imq?

boolean

(Optional) Internal marker stamped on every Redis connection created by the queue, identifying it as imq-owned. Currently written but not read by the framework. Not part of the supported API.

__ready__?

boolean

(Optional) Internal flag marking a watcher connection whose keyspace subscriptions and maintenance interval have already been installed, so watcher setup runs at most once per connection. Not part of the supported API.

Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.