@playlive/tiltify-core
    Preparing search index...

    Interface CauseClassifierOptions

    interface CauseClassifierOptions {
        alwaysIncludeEventIds?: ReadonlySet<string>;
        client?: FundraisingEventLookup;
        eventCache?: Map<string, Promise<TiltifyFundraisingEvent | null>>;
    }
    Index
    alwaysIncludeEventIds?: ReadonlySet<string>

    Fundraising-event IDs to treat as belonging to the cause regardless of the event's own cause_id (or whether the event is reachable at all). Useful for legacy events whose upstream cause attribution drifted.

    Tiltify client used to fetch fundraising events. Defaults to the package's tiltify singleton; inject a custom impl for tests or to route through a different proxy.

    eventCache?: Map<string, Promise<TiltifyFundraisingEvent | null>>

    Per-batch memoization of GetFundraiser lookups. Stores the in-flight Promise (not the resolved value) so concurrent classifications for the same event share one REST call instead of racing. Pass the same Map across multiple isCampaignForCause calls — or use filterCampaignsByCause, which manages this for you.