Wactorz JS
    Preparing search index...

    Type Alias StatePatchHandler

    StatePatchHandler: (
        agents: StatePatchAgent[],
        deletedId?: string,
        stats?: SnapshotStats,
    ) => void

    Called whenever the server broadcasts a state patch over the WebSocket. deletedId is set when the server explicitly deletes an agent. stats carries backend-computed totals that include deleted agents.

    Type Declaration