UNPKG

@kastov/messaging-redis-extension

Version:

Extension to handle messages and dispatch them over Redis

15 lines 729 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.RedisChannelConfig = void 0; const messaging_1 = require("@nestjstools/messaging"); class RedisChannelConfig extends messaging_1.ChannelConfig { constructor({ name, connection, queue, enableConsumer, avoidErrorsForNotExistedHandlers, middlewares, normalizer, keyPrefix, bullJobOptions, }) { super(name, avoidErrorsForNotExistedHandlers, middlewares, enableConsumer, normalizer); this.connection = connection; this.queue = queue; this.keyPrefix = keyPrefix; this.bullJobOptions = bullJobOptions; } } exports.RedisChannelConfig = RedisChannelConfig; //# sourceMappingURL=redis.channel-config.js.map