UNPKG

redis-smq

Version:

A simple high-performance Redis message queue for Node.js.

12 lines 608 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports._validateExchangeTopicParams = _validateExchangeTopicParams; const index_js_1 = require("../../errors/index.js"); const _get_topic_exchange_params_js_1 = require("./_get-topic-exchange-params.js"); function _validateExchangeTopicParams(topicParams) { const params = (0, _get_topic_exchange_params_js_1._getTopicExchangeParams)(topicParams); if (params instanceof Error) return new index_js_1.ExchangeInvalidTopicParamsError(); return params; } //# sourceMappingURL=_validate-exchange-topic-params.js.map