moduleList method

Future<ModuleList> moduleList()

------------------------------ Commands ------------------------------ moduleList

Implementation

/// moduleList
Future<ModuleList> moduleList() async {
  return await _runWithRetryNew(() async {
    List<RespType<dynamic>>? result = await _runWithRetryNew(() async {
      return (await RespCommandsTier1(_client!).moduleList())
          .toArray()
          .payload;
    });

    return ModuleList.fromResult(result);
  });
}