Libraries
    Preparing search index...

    Interface TrackedEvent<T>

    A server-sent event wrapped with a unique ID for resumable subscriptions.

    When a client reconnects, it can send the last received event ID so the server resumes from that point instead of replaying everything.

    interface TrackedEvent<T = unknown> {
        "[TRACKED_SYMBOL]": true;
        data: T;
        id: string;
    }

    Type Parameters

    • T = unknown
    Index

    Properties

    "[TRACKED_SYMBOL]": true

    Brand marker.

    data: T

    The actual event payload.

    id: string

    Unique event identifier for resume tracking.