hscan method

Future<Hscan> hscan(
  1. String key,
  2. int cursor, {
  3. String? pattern,
  4. int? count,
})

hscan

Implementation

Future<Hscan> hscan(String key, int cursor,
    {String? pattern, int? count}) async {
  List<RespType<dynamic>>? result = await _runWithRetryNew(() async {
    return (await RespCommandsTier1(_client!)
            .hscan(key, cursor, pattern: pattern, count: count))
        .toArray()
        .payload;
  });

  return Hscan.fromResult(result);
}