api/internal/campaign/rule/decision_engine library
Classes
- DecisionEngine
- Decides which Digia-owned campaign a signal shows: holds signals until ready, evaluates them one at a time, runs waits, and hands each winner to the injected router.
- DecisionFacts
- What the DecisionEngine reads from the SDK when it decides.
Typedefs
- RouteCampaign = RoutingVerdict Function(CampaignModel campaign, String firedBy, RuleSignal signal)
-
Shows a campaign the SDK fired itself;
firedBynames the cause in logs. Returns what routing decided: taken, or dropped with its reason.