File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
packages/common/src/client Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -643,11 +643,12 @@ export abstract class AbstractPowerSyncDatabase extends BaseObserver<PowerSyncDB
643643 * Returns an async iterator of completed transactions with local writes against the database.
644644 *
645645 * This is typically used from the {@link PowerSyncBackendConnector.uploadData} callback. Each entry emitted by the
646- * returned flow is a full transaction containing all local writes made while that transaction was active.
646+ * returned iterator is a full transaction containing all local writes made while that transaction was active.
647647 *
648648 * Unlike {@link getNextCrudTransaction}, which always returns the oldest transaction that hasn't been
649- * {@link CrudTransaction.complete}d yet, this flow can be used to collect multiple transactions. Calling
650- * {@link CrudTransaction.complete} will mark _all_ transactions emitted by the flow until that point as completed.
649+ * {@link CrudTransaction.complete}d yet, this iterator can be used to receive multiple transactions. Calling
650+ * {@link CrudTransaction.complete} will mark _all_ transactions emitted by the iterator until that point as
651+ * completed.
651652 *
652653 * This can be used to upload multiple transactions in a single batch, e.g with:
653654 *
You can’t perform that action at this time.
0 commit comments