@playlive/realtime-pipeline
    Preparing search index...

    Interface UpdatePollMessage

    Pushed from the UDP poll-snapshot-lambda immediately after a fresh snapshot is recorded (i.e. when the poll state actually changed in response to a Tiltify donation.updated webhook). Closes the latency gap left by the 60s tick cycle.

    deltas is omitted entirely on the first-ever push for a poll (no prior snapshot to diff against). When present, it covers every option that changed, appeared, or disappeared.

    Older clients that don't recognize "updatePoll" silently drop the message (default: break; in processMessage) — safe to roll out.

    interface UpdatePollMessage {
        data: {
            campaignID: string;
            deltas?: PollOptionDelta[];
            poll: TiltifyPoll;
        };
        id: string;
        sourceType: string;
        type: "updatePoll";
    }

    Hierarchy (View Summary)

    Index
    data: { campaignID: string; deltas?: PollOptionDelta[]; poll: TiltifyPoll }
    id: string
    sourceType: string
    type: "updatePoll"