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

    Interface ChannelListener

    Per-channel ack listener — called once per joined channel for each of ok / error / timeout.

    interface ChannelListener {
        onError: (
            factID: string,
            event:
                | "donation"
                | "donation_updated"
                | "match"
                | "fact"
                | "reward"
                | "milestone"
                | "challenge"
                | "poll"
                | "poll_option",
            type: FactType,
            error: unknown,
        ) => void;
        onOk: (
            factID: string,
            event:
                | "donation"
                | "donation_updated"
                | "match"
                | "fact"
                | "reward"
                | "milestone"
                | "challenge"
                | "poll"
                | "poll_option",
            type: FactType,
        ) => void;
        onTimeout: (
            factID: string,
            event:
                | "donation"
                | "donation_updated"
                | "match"
                | "fact"
                | "reward"
                | "milestone"
                | "challenge"
                | "poll"
                | "poll_option",
            type: FactType,
        ) => void;
    }
    Index
    onError: (
        factID: string,
        event:
            | "donation"
            | "donation_updated"
            | "match"
            | "fact"
            | "reward"
            | "milestone"
            | "challenge"
            | "poll"
            | "poll_option",
        type: FactType,
        error: unknown,
    ) => void
    onOk: (
        factID: string,
        event:
            | "donation"
            | "donation_updated"
            | "match"
            | "fact"
            | "reward"
            | "milestone"
            | "challenge"
            | "poll"
            | "poll_option",
        type: FactType,
    ) => void
    onTimeout: (
        factID: string,
        event:
            | "donation"
            | "donation_updated"
            | "match"
            | "fact"
            | "reward"
            | "milestone"
            | "challenge"
            | "poll"
            | "poll_option",
        type: FactType,
    ) => void