API reference › @evolu/common › local‑first/Shared › SettledSyncRoute
Defined in: packages/common/src/local-first/Shared.ts:1014
A route whose reconciliation ended with a skipped change, so it is incomplete: its relay offers a change the database could not store, or the database stores a change it cannot send, a ProtocolChangeTooLargeError. Changes stored from other relays request no round through it; the next round requested through it, such as by Evolu.requestSync or a reopen, checks it again. Every route through a relay that lacks a change too large to send skips it on every sync, so those routes stay settled, and messages from other relays reach them only through such rounds.
Extends
Typed<"Settled">
Properties
completeAt
readonly completeAt:
| number & Brand<"NonNaN"> & Brand<"Finite"> & Brand<"Int"> & Brand<"NonNegative"> & Brand<"LessThan281474976710655"> & Brand<"Millis">
| null;
Defined in: packages/common/src/local-first/Shared.ts:1019
When the route last became complete, or null.
lastReceivedAt
readonly lastReceivedAt: number & Brand<"NonNaN"> & Brand<"Finite"> & Brand<"Int"> & Brand<"NonNegative"> & Brand<"LessThan281474976710655"> & Brand<"Millis">;
Defined in: packages/common/src/local-first/Shared.ts:1026
When processing a frame from the route last finished. Never null, because the reply that skipped the change set it.
lastSentAt
readonly lastSentAt: number & Brand<"NonNaN"> & Brand<"Finite"> & Brand<"Int"> & Brand<"NonNegative"> & Brand<"LessThan281474976710655"> & Brand<"Millis">;
Defined in: packages/common/src/local-first/Shared.ts:1021
When this database last sent a request through the route.
skippedError
readonly skippedError: SyncRouteError;
Defined in: packages/common/src/local-first/Shared.ts:1017
The first change skipped in the latest reply that skipped one.
transportId
readonly transportId: SyncTransportId;
Defined in: packages/common/src/local-first/Shared.ts:1015
type
readonly type: "Settled";
Defined in: packages/common/src/Type.ts:19326