pfcount method

Future<int> pfcount(
  1. List<Object> keys
)

pfcount

Implementation

Future<int> pfcount(List<Object> keys) async {
  Object result = await _runWithRetryNew(() async {
    return (await RespCommandsTier1(_client!).pfcount(keys));
  });

  if (result is RespType2<dynamic>) {
    return result.toInteger().payload;
  }

  return (result as RespType3<dynamic>).toInteger().payload;
}