public static ItemRef BlockingPopItemFromLists(string[] listIds, TimeSpan?timeOut) { using (RedisClient client = GetClient()) { return(client.BlockingPopItemFromLists(listIds, timeOut)); } }
/// <summary> /// 阻塞命令:从list中keys的尾部移除一个值,并返回移除的值,阻塞时间为sp /// </summary> public ItemRef BlockingPopItemFromLists(string[] keys, TimeSpan?sp) { return(RedisClient.BlockingPopItemFromLists(keys, sp)); }