sendCommand method

Future sendCommand(
  1. List<String> commandList
)

Send redis command

await redis.sendCommand(['SET', 'foo', 'bar']);
await redis.sendCommand(['GET', 'foo']);

Implementation

Future<dynamic> sendCommand(List<String> commandList) async {
  isBusy = true;
  dynamic value = await _sendCommand(commandList);
  isBusy = false;
  return value;
}