Interface QueueEventsOptions

Options for QueueEvents

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

Hierarchy (view full)

Properties

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.

sharedConnection?: boolean

Specify if the connection is shared.

Generated using TypeDoc