Skip to content

Commit 0f42227

Browse files
committed
Remove Kotlin-specific terminology
1 parent d8f305f commit 0f42227

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

packages/common/src/client/AbstractPowerSyncDatabase.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff 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
*

0 commit comments

Comments
 (0)