scan method
Implementation
Future<RespType> scan(int cursor, {String? pattern, int? count}) async {
return tier0.execute([
'SCAN',
'$cursor',
if (pattern != null) ...['MATCH', pattern],
if (count != null) ...['COUNT', count],
]);
}