Comparing version 0.0.4 to 0.0.5
@@ -26,4 +26,4 @@ "use strict"; | ||
//收到消息后执行回调,message是redis发布的消息 | ||
this.redisClient.on("message", function (channel, message) { | ||
const handlers = this.messageHandlerMap.get(channel); | ||
this.redisClient.on("message", (channel, message) => { | ||
const handlers = this.arr_channel.get(channel); | ||
if (null != handlers && 0 < handlers.length) { | ||
@@ -30,0 +30,0 @@ handlers.forEach(value => { |
{ | ||
"name": "redis_mgr", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "scripts": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
46906