diff options
author | Mark Nunberg <mnunberg@users.noreply.github.com> | 2019-08-09 03:54:24 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-09 03:54:24 -0400 |
commit | 5d013039a95402ff555ab51a7340d4af91b6f72b (patch) | |
tree | e71f78ce23f54e9797e76e0681c9fb1f1f394ae0 /README.md | |
parent | fe215464caf1e11a34de06ec23576b01417397c7 (diff) | |
parent | 9ff1cc7826f6d546fc0fcdd7f08554e729a447a1 (diff) |
Merge pull request #621 from Crunsher/master
Update README.md
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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. |