Skip to content

Commit

Permalink
Merge pull request #621 from Crunsher/master
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
mnunberg committed Aug 9, 2019
2 parents fe21546 + 9ff1cc7 commit 5d01303
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@ return `REDIS_ERR`. The function to set the disconnect callback has the followin
```c
int redisAsyncSetDisconnectCallback(redisAsyncContext *ac, redisDisconnectCallback *fn);
```
`ac->data` may be used to pass user data to this callback, the same can be done for redisConnectCallback.
### Sending commands and their callbacks
In an asynchronous context, commands are automatically pipelined due to the nature of an event loop.
Expand Down

0 comments on commit 5d01303

Please sign in to comment.