execute method

Future<Execute> execute(
  1. String str
)

execute

Implementation

Future<Execute> execute(String str) async {
  List<Object> commandList =
      str.split(" ").where((item) => item.trim().isNotEmpty).toList();

  RespType<dynamic> result = await _runWithRetryNew(() async {
    return (await RespCommandsTier1(_client!).execute(commandList));
  });

  return Execute.fromResult(result);
}