VersionMarkCapture TypeAlias
The data captured for a version mark. pending when the captured edit is local and not yet sequenced (resolve it later via resolve(batchId, sequenceNumberLowerBound)); resolved when there is no in-flight local work, so the mark already points at a durable sequence number. The app packs its own stored record from this — the runtime does not define the stored locator shape.
This API is provided for existing users, but is not recommended for new users.
To use, import via @fluidframework/container-runtime/legacy.
For more information about our API support guarantees, see here.
Signature
export type VersionMarkCapture = {
readonly kind: "pending";
readonly batchId: string;
readonly sequenceNumberLowerBound: number;
} | {
readonly kind: "resolved";
readonly sequenceNumber: number;
};