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

Function __redisRunPushCallback

deps/hiredis/async.c:292–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

290}
291
292static void __redisRunPushCallback(redisAsyncContext *ac, redisReply *reply) {
293 if (ac->push_cb != NULL) {
294 ac->c.flags |= REDIS_IN_CALLBACK;
295 ac->push_cb(ac, reply);
296 ac->c.flags &= ~REDIS_IN_CALLBACK;
297 }
298}
299
300/* Helper function to free the context. */
301static void __redisAsyncFree(redisAsyncContext *ac) {

Callers 1

redisProcessCallbacksFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected