UNPKG

gl-hydra

Version:

Hydra is a NodeJS light-weight library for building distributed computing applications such as microservices

25 lines (22 loc) 416 B
'use strict'; /** * @name HydraEvent * @description EventEmitter event names for Hydra */ class HydraEvent { /** * @return {string} config update event * @static */ static get CONFIG_UPDATE_EVENT() { return 'configUpdate'; } /** * @return {string} update message type * @static */ static get UPDATE_MESSAGE_TYPE() { return 'configRefresh'; } } module.exports = HydraEvent;