Interface QueueEventsOptions

Options for QueueEvents

interface QueueEventsOptions {
    autorun?: boolean;
    blockingConnection?: boolean;
    blockingTimeout?: number;
    connection?: ConnectionOptions;
    lastEventId?: string;
    prefix?: string;
    skipVersionCheck?: boolean;

Hierarchy (view full)


autorun?: boolean

Condition to start listening to events at instance creation.

blockingConnection?: boolean

Denotes commands should retry indefinitely.

blockingTimeout?: number

Timeout for the blocking XREAD call to the events stream.

connection?: ConnectionOptions

Options for connecting to a Redis instance.

lastEventId?: string

Last event Id. If provided it is possible to continue consuming events from a known Id instead of from the last produced event.

prefix?: string

Prefix for all queue keys.

skipVersionCheck?: boolean

Avoid version validation to be greater or equal than v5.0.0.

Default Value


Generated using TypeDoc