예제 #1
0
        public Task <RedisResponse> ExecuteRedisCommand(byte[][] args)
        {
            var tcs = new TaskCompletionSource <RedisResponse>();

            _pipeline.ExecuteCommandAsync(args, (ex, r) => ProcessRedisResponse(tcs, ex, r));
            return(tcs.Task);
        }