RouteCampaign typedef

RouteCampaign = RoutingVerdict Function(CampaignModel campaign, String firedBy, RuleSignal signal)

Shows a campaign the SDK fired itself; firedBy names the cause in logs. Returns what routing decided: taken, or dropped with its reason.

Implementation

typedef RouteCampaign = RoutingVerdict Function(
    CampaignModel campaign, String firedBy, RuleSignal signal);