Skip to content

Commit

Permalink
docs(README): typo for stream (#1243)
Browse files Browse the repository at this point in the history
  • Loading branch information
Motsols committed Dec 13, 2020
1 parent 71ad02c commit cd336bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ const stream = redis.hscanStream("myhash", {
You can learn more from the [Redis documentation](http://redis.io/commands/scan).

**Useful Tips**
It's pretty common that doing an async task in the `data` handler. We'd like the scanning process to be paused until the async task to be finished. `Stream#pause()` and `Stream.resume()` do the trick. For example if we want to migrate data in Redis to MySQL:
It's pretty common that doing an async task in the `data` handler. We'd like the scanning process to be paused until the async task to be finished. `Stream#pause()` and `Stream#resume()` do the trick. For example if we want to migrate data in Redis to MySQL:

```javascript
const stream = redis.scanStream();
Expand Down

0 comments on commit cd336bf

Please sign in to comment.