public Task <RedisResponse> ExecuteRedisCommand(byte[][] args) { var tcs = new TaskCompletionSource <RedisResponse>(); _pipeline.ExecuteCommandAsync(args, (ex, r) => ProcessRedisResponse(tcs, ex, r)); return(tcs.Task); }
public Task <RedisResponse> ExecuteRedisCommand(byte[][] args) { var tcs = new TaskCompletionSource <RedisResponse>(); _pipeline.ExecuteCommandAsync(args, (ex, r) => ProcessRedisResponse(tcs, ex, r)); return(tcs.Task); }