File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
Sources/PowerSync/Protocol/db Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,9 @@ public protocol CrudBatch {
1616
1717public extension CrudBatch {
1818 /// Call to remove the changes from the local queue, once successfully uploaded.
19- ///
20- /// `writeCheckpoint` is optional.
21- func complete( writeCheckpoint: String ? = nil ) async throws {
19+ func complete( ) async throws {
2220 try await self . complete (
23- writeCheckpoint: writeCheckpoint
21+ writeCheckpoint: nil
2422 )
2523 }
2624}
Original file line number Diff line number Diff line change @@ -18,11 +18,9 @@ public protocol CrudTransaction {
1818
1919public extension CrudTransaction {
2020 /// Call to remove the changes from the local queue, once successfully uploaded.
21- ///
22- /// `writeCheckpoint` is optional.
23- func complete( writeCheckpoint: String ? = nil ) async throws {
21+ func complete( ) async throws {
2422 try await self . complete (
25- writeCheckpoint: writeCheckpoint
23+ writeCheckpoint: nil
2624 )
2725 }
2826}
You can’t perform that action at this time.
0 commit comments