1

有没有办法调用较新的 PUBSUB 方法(http://redis.io/commands/pubsub)而不是分叉 BookSleeve 存储库?我所到之处都陷入了死胡同。例如,要调用“PUBSUB CHANNELS”,在查看 RedisConnectionBase 时,我可以自己调用 ExecuteMultiString,但它设置为内部。我可以做那个方法所做的事情并建立一个 MessageResultMultiString 并调用 EnqueueMessage,但这两个也都标记为内部的。

4

1 回答 1

0

The only reason this doesn't exist is that it is new in 2.8, and the latest "stable" is 2.6.16. I can add it to the roadmap, though.

For now, you could probably use .Scripting.Eval to issue this as LUA.

于 2013-11-11T23:31:05.080 回答