Skip to content

Commit

Permalink
Merge pull request #1368 from hahcho/update-quit-docs-in-readme
Browse files Browse the repository at this point in the history
Update client.quit definition in README.md to include callback
  • Loading branch information
stockholmux committed Aug 10, 2018
2 parents 27bb93a + 62f30c0 commit b666442
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
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 b666442

Please sign in to comment.