Type Alias WriteStatus
type WriteStatus = {
attempts: number;
base: string;
bytes: number;
conflict?: WriteConflict;
key: string;
name: string;
queuedAt: number;
refusal?: WriteRefusalCode;
state: WriteState;
updatedAt: number;
}
attempts: number;
base: string;
bytes: number;
conflict?: WriteConflict;
key: string;
name: string;
queuedAt: number;
refusal?: WriteRefusalCode;
state: WriteState;
updatedAt: number;
}
Properties
attempts
attempts: number
flushes that failed before the network answered
base
base: string
the version the first edit since the last flush started from
bytes
bytes: number
bytes of the queued value's JSON
Optionalconflict
key
key: string
name
name: string
queued At
queuedAt: number
Optionalrefusal
the code of a refusal that stopped a flush for good; the record waits for resolve
state
updated At
updatedAt: number
what a page may see of one queued value: no local value, and the server's side of a conflict