···4545 appendChange(entry: ChangeEntry): Promise<void>
46464747 /**
4848+ * Atomically write a document snapshot and its change entry in one operation.
4949+ * Prevents inconsistency if the process crashes between a `setDocument` and
5050+ * `appendChange` call. Optional — {@linkcode Collection} falls back to two
5151+ * sequential writes for backends that don't implement it.
5252+ */
5353+ setDocumentWithChange?(
5454+ id: string,
5555+ doc: Document<T>,
5656+ entry: ChangeEntry,
5757+ ): Promise<void>
5858+5959+ /**
4860 * Query changes for a document, ordered by HLC ascending.
4961 *
5062 * `since` and `until` are HLC strings (exclusive and inclusive respectively).