API reference › @evolu/common › local‑first/Shared › PendingSyncRoute

Defined in: packages/common/src/local-first/Shared.ts:673

A route whose reconciliation has not ended: its transport is not open, a request or a received frame is outstanding, a replicated write is queued, or a round must still be sent through it.

Extends

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:689

When the route last became complete, or null.


failure

readonly failure:
  | SyncRouteError
  | null;

Defined in: packages/common/src/local-first/Shared.ts:681

The failure since the route last settled, or null. The first failure in a reply requests one round through the route; a later one, or a failure to create a round, waits for the next round another event requests, such as Evolu.requestSync or a reopen.


lastReceivedAt

readonly lastReceivedAt:
  | number & Brand<"NonNaN"> & Brand<"Finite"> & Brand<"Int"> & Brand<"NonNegative"> & Brand<"LessThan281474976710655"> & Brand<"Millis">
  | null;

Defined in: packages/common/src/local-first/Shared.ts:696

When processing a frame from the route last finished, successfully or with a failure, or null. Aborted processing does not update it.


lastSentAt

readonly lastSentAt:
  | number & Brand<"NonNaN"> & Brand<"Finite"> & Brand<"Int"> & Brand<"NonNegative"> & Brand<"LessThan281474976710655"> & Brand<"Millis">
  | null;

Defined in: packages/common/src/local-first/Shared.ts:691

When this database last sent a request through the route, or null.


skippedError

readonly skippedError:
  | SyncRouteError
  | null;

Defined in: packages/common/src/local-first/Shared.ts:687

The first change skipped in the latest reply that skipped one, or null. The relay offers it again in every round through the route until this database stores a change with that timestamp.


transportId

readonly transportId: SyncTransportId;

Defined in: packages/common/src/local-first/Shared.ts:674


type

readonly type: "Pending";

Defined in: packages/common/src/Type.ts:15402

Inherited from

Typed.type