We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dec5048 commit d06ecc7Copy full SHA for d06ecc7
README.md
@@ -181,9 +181,9 @@ for await (const key of client.scanIterator()) {
181
This works with `HSCAN`, `SSCAN`, and `ZSCAN` too:
182
183
```typescript
184
-for await (const member of client.hScanIterator('hash')) {}
185
-for await (const { field, value } of client.sScanIterator('set')) {}
186
-for await (const { member, score } of client.zScanIterator('sorted-set')) {}
+for await (const { field, value } of client.hScanIterator('hash')) {}
+for await (const member of client.sScanIterator('set')) {}
+for await (const { score, member } of client.zScanIterator('sorted-set')) {}
187
```
188
189
You can override the default options by providing a configuration object:
0 commit comments