diff options
author | Michael Grunder <michael.grunder@gmail.com> | 2022-04-05 13:00:54 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-05 13:00:54 -0700 |
commit | d7683f35aa66e222aad07caf5b345393d0c1b9f1 (patch) | |
tree | cdc6d41dab376796f35979e0d53ab578e4e76d55 /async.h | |
parent | 7c44a9d7ecf113beb9447e62dd34fb45378bf6da (diff) | |
parent | 7123b87f6d237e0ddf75c9698b2961e2d102a69d (diff) |
Merge pull request #1047 from Nordix/unsubscribe-handling
Unsubscribe handling in async
Diffstat (limited to 'async.h')
-rw-r--r-- | async.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -46,6 +46,7 @@ typedef struct redisCallback { struct redisCallback *next; /* simple singly linked list */ redisCallbackFn *fn; int pending_subs; + int unsubscribe_sent; void *privdata; } redisCallback; @@ -105,6 +106,7 @@ typedef struct redisAsyncContext { redisCallbackList replies; struct dict *channels; struct dict *patterns; + int pending_unsubs; } sub; /* Any configured RESP3 PUSH handler */ |