Remote / foldkit-remote/outbox

OutboxStatus

interface · packages/remote/src/outbox.ts:768

interface OutboxStatus {
  readonly waiting: number
  readonly failed: number
  readonly waitingForSignIn: number
  readonly items: ReadonlyArray<OutboxItem>
}

What the outbox holds, for a view: "3 changes waiting".

Members

OutboxStatus.waiting

property · packages/remote/src/outbox.ts:769

readonly waiting: number

OutboxStatus.failed

property · packages/remote/src/outbox.ts:770

readonly failed: number

OutboxStatus.waitingForSignIn

property · packages/remote/src/outbox.ts:772

readonly waitingForSignIn: number

Writes waiting for a sign-in; the waiting ones after them are held behind them.

OutboxStatus.items

property · packages/remote/src/outbox.ts:774

readonly items: ReadonlyArray<OutboxItem>

Every durable write not yet settled, in the order they are sent.