예제 #1
0
        public async Task Can_BlockingRemoveStartFromList()
        {
            foreach (var x in storeMembers)
            {
                await RedisAsync.AddItemToListAsync(ListId, x);
            }

            var item1 = await RedisAsync.BlockingRemoveStartFromListAsync(ListId, null);

            Assert.That(item1, Is.EqualTo(storeMembers.First()));
        }