Interface RedisConfig

interface RedisConfig {
    class: Partial<RedisClass>;
    options: Partial<RedisOptions>;
    provider?: string;
    readonly?: boolean;
}

Hierarchy (view full)

Properties

class: Partial<RedisClass>
options: Partial<RedisOptions>
provider?: string
readonly?: boolean

If provided and if true, the engine router instance will be initialized as a readonly instance and will not consume messages from the stream channel. An engine in readonly mode can still read/write to the store and can still pub/sub events.