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

Function redisAsyncSetPushCallback

deps/hiredis/async.c:864–868  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

862}
863
864redisAsyncPushFn *redisAsyncSetPushCallback(redisAsyncContext *ac, redisAsyncPushFn *fn) {
865 redisAsyncPushFn *old = ac->push_cb;
866 ac->push_cb = fn;
867 return old;
868}
869
870int redisAsyncSetTimeout(redisAsyncContext *ac, struct timeval tv) {
871 if (!ac->c.command_timeout) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected