diff options
author | Nick Rivera <heronr@users.noreply.github.com> | 2020-04-09 20:23:06 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-09 20:23:06 -0700 |
commit | 0184caac9de25258b23156016b3528e9878f1dae (patch) | |
tree | cbc0aa54634ef08eb6ea28637517dae7cde1fe50 /async.h | |
parent | a5613f3f7fd3a11353561360d40b9e7dcbeffc7f (diff) |
Provides an optional cleanup callback for async data.
Diffstat (limited to 'async.h')
-rw-r--r-- | async.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -70,6 +70,7 @@ typedef struct redisAsyncContext { /* Not used by hiredis */ void *data; + void (*dataCleanup)(void *privdata); /* Event library data and hooks */ struct { |