Skip to content

Commit 240bcdd

Browse files
cleanup
1 parent 9b606c2 commit 240bcdd

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

packages/react-native/src/db/PowerSyncDatabase.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,4 @@ export class PowerSyncDatabase extends AbstractPowerSyncDatabase {
6060
identifier: this.database.name
6161
});
6262
}
63-
64-
async readLock<T>(callback: (db: DBAdapter) => Promise<T>): Promise<T> {
65-
await this.waitForReady();
66-
return this.database.readLock(callback);
67-
}
68-
69-
async writeLock<T>(callback: (db: DBAdapter) => Promise<T>): Promise<T> {
70-
await this.waitForReady();
71-
return this.database.writeLock(callback);
72-
}
7363
}

0 commit comments

Comments
 (0)