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

    Interface PollOptionDelta

    Per-option delta for a UpdatePollMessage.

    Computed server-side by the poll-snapshot lambda. Amounts are string-encoded decimal cents-safe (e.g. "12.50", "-5.00") — Tiltify's convention — so consumers should never parseFloat blindly if they care about precision.

    Semantics:

    • Increase — option amount went up, delta is positive.
    • New option — option appeared since prior snapshot, delta is the full new amount (positive).
    • Removed option — option vanished, delta is the full prior amount negated (negative). The optionID still refers to the removed option so consumers can fade it out.
    interface PollOptionDelta {
        amountRaisedDelta: string;
        optionID: string;
    }
    Index
    amountRaisedDelta: string

    Signed decimal amount, e.g. "12.50", "-5.00". String for precision.

    optionID: string