常用方法
常用方法
常用方法
常用方法
public void SubscribeToChannels(params string[] channels) { var multiBytes = redisClient.Subscribe(channels); ParseSubscriptionResults(multiBytes); while (this.SubscriptionCount > 0) { multiBytes = redisClient.ReceiveMessages(); ParseSubscriptionResults(multiBytes); } }