We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d824df commit 6ad4c68Copy full SHA for 6ad4c68
README.md
@@ -198,9 +198,8 @@ See the [Pub/Sub overview](https://github.com/redis/node-redis/blob/master/docs/
198
using [async iterators](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol/asyncIterator):
199
200
```typescript
201
-for await (const key of client.scanIterator()) {
202
- // use the key!
203
- await client.get(key);
+for await (const keys of client.scanIterator()) {
+ console.log(keys, await client.mGet(keys));
204
}
205
```
206
0 commit comments