diff --git a/src/valkeymodule.h b/src/valkeymodule.h index 10dc734dd4..ad6c3386ed 100644 --- a/src/valkeymodule.h +++ b/src/valkeymodule.h @@ -869,6 +869,9 @@ typedef struct ValkeyModuleScriptingEngineCallResult { /* Used by ARRAY, SET, MAP */ struct { void *context; + /* This callback implementation should call + * `ValkeyModule_ReturnFunctionCallResult` with the next element of + * the array, set, or map. */ int (*returnNextElem)(void *context); } deferred; } val;