VehicleSnapshotsUpdatedPayload
The vehicles whose snapshot changed, and the ones that are gone.
Definition
Section titled “Definition”type VehicleSnapshotsUpdatedPayload = Readonly<{ vehicles: readonly VehicleSnapshot[]; removedVehicleIds: readonly number[]; observedAtSessionMs: number;}>;Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
vehicles |
readonly VehicleSnapshot[] |
The new or changed vehicles, each as vehicles.getById now returns it. |
removedVehicleIds |
readonly number[] |
Vehicles that are gone. vehicles.getById returns undefined for them. |
observedAtSessionMs |
number |
When the server saw the changes, on the shared session clock. |