MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / redisAsyncHandleWrite

Function redisAsyncHandleWrite

deps/hiredis/async.c:675–688  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

673}
674
675void redisAsyncHandleWrite(redisAsyncContext *ac) {
676 redisContext *c = &(ac->c);
677
678 if (!(c->flags & REDIS_CONNECTED)) {
679 /* Abort connect was not successful. */
680 if (__redisAsyncHandleConnect(ac) != REDIS_OK)
681 return;
682 /* Try again later when the context is still not connected. */
683 if (!(c->flags & REDIS_CONNECTED))
684 return;
685 }
686
687 c->funcs->async_write(ac);
688}
689
690void redisAsyncHandleTimeout(redisAsyncContext *ac) {
691 redisContext *c = &(ac->c);

Callers 9

redisAeWriteEventFunction · 0.85
writeMethod · 0.85
redisLibuvPollFunction · 0.85
redisMacOSAsyncCallbackFunction · 0.85
redisLibevWriteEventFunction · 0.85
redisIvykisWriteEventFunction · 0.85
redis_source_dispatchFunction · 0.85
redisAeWriteEventFunction · 0.85
redisLibeventHandlerFunction · 0.85

Calls 1

Tested by

no test coverage detected