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
643
643
* Returns an async iterator of completed transactions with local writes against the database.
644
644
*
645
645
* 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.
647
647
*
648
648
* 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.
651
652
*
652
653
* This can be used to upload multiple transactions in a single batch, e.g with:
653
654
*
You can’t perform that action at this time.
0 commit comments