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)); }
internal void Write(RedisChannel channel) { WriteUnified(outStream, ChannelPrefix, channel.Value); }
public MessageCompletable(RedisChannel channel, RedisValue message, Action <RedisChannel, RedisValue> handler) { this.channel = channel; this.message = message; this.handler = handler; }