コード例 #1
0
        public Task <long> SubscriptionSubscriberCountAsync(RedisChannel channel, CommandFlags flags = CommandFlags.None)
        {
            var msg = Message.Create(-1, flags, RedisCommand.PUBSUB, RedisLiterals.NUMSUB, channel);

            return(ExecuteAsync(msg, ResultProcessor.PubSubNumSub));
        }
コード例 #2
0
 internal void Write(RedisChannel channel)
 {
     WriteUnified(outStream, ChannelPrefix, channel.Value);
 }
コード例 #3
0
 public MessageCompletable(RedisChannel channel, RedisValue message, Action <RedisChannel, RedisValue> handler)
 {
     this.channel = channel;
     this.message = message;
     this.handler = handler;
 }