Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
hiredis
Commits
857b2690
Commit
857b2690
authored
Feb 06, 2012
by
Pieter Noordhuis
Browse files
Update README with actual async callback behavior
See issue #79, thanks to @ewencp.
parent
d5d88437
Changes
1
Show whitespace changes
Inline
Side-by-side
README.md
View file @
857b2690
...
@@ -286,7 +286,8 @@ is being disconnected per user-request, no new commands may be added to the outp
...
@@ -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.
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
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.
All pending callbacks are called with a
`NULL`
reply when the context encountered an error.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment