Skip to content

Commit

Permalink
Update client.quit definition in README.md to include callback
Browse files Browse the repository at this point in the history
  • Loading branch information
hahcho committed Aug 10, 2018
1 parent 27bb93a commit 62f30c0
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 @@ -329,7 +329,7 @@ implement backpressure by checking the buffer state before sending a command and
listening to the stream
[drain](https://nodejs.org/api/stream.html#stream_event_drain) event.

## client.quit()
## client.quit(callback)

This sends the quit command to the redis server and ends cleanly right after all
running commands were properly handled. If this is called while reconnecting
Expand Down

0 comments on commit 62f30c0

Please sign in to comment.