UNPKG

redis-smq

Version:

A high-performance, reliable, and scalable message queue for Node.js.

21 lines 707 B
import { IQueueParsedParams } from '../../queue-manager/index.js'; export interface IConsumerBatchConfig { enabled?: boolean; batchSize?: number; batchTimeoutMs?: number; } export interface IConsumerOptions { heartbeatTTL?: number; enableMultiplexing?: boolean; batchAcks?: boolean | IConsumerBatchConfig; batchUnacks?: boolean | IConsumerBatchConfig; } export interface IConsumerParsedOptions extends Required<IConsumerOptions> { batchAcks: Required<IConsumerBatchConfig>; batchUnacks: Required<IConsumerBatchConfig>; } export interface IConsumerQueuesWithStatus { queue: IQueueParsedParams; status: 'active' | 'stopped'; } //# sourceMappingURL=consumer.d.ts.map