示例#1
0
        public Task <RedisResponse> ReadDirectResponse()
        {
            var tcs = new TaskCompletionSource <RedisResponse>();

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