File tree 2 files changed +4
-8
lines changed
Sources/PowerSync/Protocol/db 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,9 @@ public protocol CrudBatch {
16
16
17
17
public extension CrudBatch {
18
18
/// 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 {
22
20
try await self . complete (
23
- writeCheckpoint: writeCheckpoint
21
+ writeCheckpoint: nil
24
22
)
25
23
}
26
24
}
Original file line number Diff line number Diff line change @@ -18,11 +18,9 @@ public protocol CrudTransaction {
18
18
19
19
public extension CrudTransaction {
20
20
/// 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 {
24
22
try await self . complete (
25
- writeCheckpoint: writeCheckpoint
23
+ writeCheckpoint: nil
26
24
)
27
25
}
28
26
}
You can’t perform that action at this time.
0 commit comments