Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
hiredis
Commits
5d013039
Unverified
Commit
5d013039
authored
Aug 09, 2019
by
Mark Nunberg
Committed by
GitHub
Aug 09, 2019
Browse files
Merge pull request #621 from Crunsher/master
Update README.md
parents
fe215464
9ff1cc78
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
5d013039
...
@@ -286,6 +286,7 @@ return `REDIS_ERR`. The function to set the disconnect callback has the followin
...
@@ -286,6 +286,7 @@ return `REDIS_ERR`. The function to set the disconnect callback has the followin
```
c
```
c
int
redisAsyncSetDisconnectCallback
(
redisAsyncContext
*
ac
,
redisDisconnectCallback
*
fn
);
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
### Sending commands and their callbacks
In an asynchronous context, commands are automatically pipelined due to the nature of an event loop.
In an asynchronous context, commands are automatically pipelined due to the nature of an event loop.
...
...
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