(key)
| 609 | let cursor = '0' |
| 610 | |
| 611 | do { |
| 612 | const result = await client.scan(cursor, 'MATCH', pattern, 'COUNT', 100) |
| 613 | cursor = result[0] |
| 614 | keys.push(...result[1]) |
| 615 | } while (cursor !== '0') |
| 616 | |
| 617 | return keys |
nothing calls this directly
no test coverage detected