Written to: 1 requirement: 1 proved, 0 partly, 0 failing, 0 with no test recorded. 0007-bridge-exchange FR-004
What a replica keeps of its exchange, on its own side: the number of its last row that it has published, and the delta files it has taken from the medium (applied, or put aside as not to be taken). It is never written to the medium. A cursor that is lost costs time and nothing else, because a delta applied twice has the effect of once and a file published again is the same file.
typeCursorState= {
/** The number of the last of the replica's own rows that it has published, 0 where it has published none. */readonlypublished:number;
/** The paths of the delta files taken. */readonlyapplied:readonlystring[];
/** The paths of the delta files put aside, which are not tried again. */readonlyquarantined:readonlystring[];
};