diff options
author | Pieter Noordhuis <pcnoordhuis@gmail.com> | 2012-02-06 11:07:42 -0800 |
---|---|---|
committer | Pieter Noordhuis <pcnoordhuis@gmail.com> | 2012-02-06 11:08:39 -0800 |
commit | 857b2690afd8d9fbbb3472c948b74dd6cd6e8a95 (patch) | |
tree | 4fc0a077d8fc898fb22a2ddbcfd4bbdc4f44174a | |
parent | d5d884378d3df75f8ce4ed86ffe62f1210ffe4fb (diff) | |
download | hiredict-857b2690afd8d9fbbb3472c948b74dd6cd6e8a95.tar.xz |
Update README with actual async callback behavior
See issue #79, thanks to @ewencp.
-rw-r--r-- | README.md | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -286,7 +286,8 @@ is being disconnected per user-request, no new commands may be added to the outp returned on calls to the `redisAsyncCommand` family. If the reply for a command with a `NULL` callback is read, it is immediately free'd. When the callback -for a command is non-`NULL`, it is responsible for cleaning up the reply. +for a command is non-`NULL`, the memory is free'd immediately following the callback: the reply is only +valid for the duration of the callback. All pending callbacks are called with a `NULL` reply when the context encountered an error. |