Skip to content

Commit

Permalink
Update README with actual async callback behavior
Browse files Browse the repository at this point in the history
See issue redis#79, thanks to @ewencp.
  • Loading branch information
pietern committed Feb 6, 2012
1 parent d5d8843 commit 857b269
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 857b269

Please sign in to comment.