Field Notes
    Preparing search index...

    Interface AwarenessPresence

    The wire shape of one awareness frame. Every frame is the sender's COMPLETE state (identity + whatever it publishes), so any coalescer that keeps only the newest frame — the relay's per-kind throttle lane, a slow consumer — is correct by construction: latest wins. Absent fields mean "none / not published"; there is no delta encoding. A cleared frame says the sender is going away (receivers drop it now instead of waiting for stale expiry). Presence only: never elements, undo history, persisted canvas state, or durable operations.

    interface AwarenessPresence {
        cleared?: true;
        color?: string;
        cursor?: Point;
        id: string;
        kind: "awareness";
        name?: string;
        role?: string;
        selection?: readonly string[];
        tool?: string;
    }

    Hierarchy (View Summary)

    Index
    cleared?: true
    color?: string
    cursor?: Point

    World-space pointer position; absent = no cursor to show.

    id: string
    kind: "awareness"
    name?: string
    role?: string
    selection?: readonly string[]

    Selected element ids the sender chose to publish; absent = none.

    tool?: string

    Active tool name; absent = not published.