server/modules/selva/module/subscriptions.c
static void defer_traversing(
        RedisModuleCtx *ctx,
        struct SelvaModify_Hierarchy *hierarchy,
        const struct SelvaModify_HierarchyNode *node,
        const struct Selva_SubscriptionMarkers *sub_markers) {
    struct SVectorIterator it;
    struct Selva_SubscriptionMarker *marker;

    SVector_ForeachBegin(&it, &sub_markers->vec);
    while ((marker = SVector_Foreach(&it))) {
        if (marker->dir != SELVA_HIERARCHY_TRAVERSAL_NONE) {
            marker->marker_action(ctx, hierarchy, marker, SELVA_SUBSCRIPTION_FLAG_CH_HIERARCHY, node);
        }
    }
}
/**
 * Defer event if a marker is traversing marker.
 * Use defer_event_for_traversing_markers() instead of this function.
 */
Defer event if a marker is traversing marker.
Use defer_event_for_traversing_markers() instead of this function.
Defer event if a marker is traversing marker . Use defer_event_for_traversing_markers () instead of this function .
static void defer_traversing(
        RedisModuleCtx *ctx,
        struct SelvaModify_Hierarchy *hierarchy,
        const struct SelvaModify_HierarchyNode *node,
        const struct Selva_SubscriptionMarkers *sub_markers) {
    struct SVectorIterator it;
    struct Selva_SubscriptionMarker *marker;
    SVector_ForeachBegin(&it, &sub_markers->vec);
    while ((marker = SVector_Foreach(&it))) {
        if (marker->dir != SELVA_HIERARCHY_TRAVERSAL_NONE) {
            marker->marker_action(ctx, hierarchy, marker, SELVA_SUBSCRIPTION_FLAG_CH_HIERARCHY, node);
        }
    }
}
static void defer_traversing ( RedisModuleCtx * ctx , struct SelvaModify_Hierarchy * hierarchy , const struct SelvaModify_HierarchyNode * node , const struct Selva_SubscriptionMarkers * sub_markers ) { struct SVectorIterator it ; struct Selva_SubscriptionMarker * marker ; SVector_ForeachBegin ( & it , & sub_markers -> vec ) ; while ( ( marker = SVector_Foreach ( & it ) ) ) { if ( marker -> dir != SELVA_HIERARCHY_TRAVERSAL_NONE ) { marker -> marker_action ( ctx , hierarchy , marker , SELVA_SUBSCRIPTION_FLAG_CH_HIERARCHY , node ) ; } } }
Defer event if a marker is traversing marker.
Defer event if a marker is traversing marker .