UNPKG

redis-smq

Version:

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

8 lines 508 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.heartbeatEventPublisher = heartbeatEventPublisher; const event_multiplexer_js_1 = require("../event-bus/event-multiplexer.js"); function heartbeatEventPublisher(heartbeat) { heartbeat.on('heartbeat.beat', (componentId, _, timestamp, payload) => event_multiplexer_js_1.EventMultiplexer.publish('consumerHeartbeat.heartbeat', componentId, timestamp, payload.data)); } //# sourceMappingURL=heartbeat-event-publisher.js.map