starting checkcache class to wrap the checkcache object store

This commit is contained in:
Jack Case
2025-12-06 13:52:26 +00:00
parent a7d1449c01
commit 298a797538

View File

@@ -51,3 +51,16 @@ class SlopDB {
return db_promise
}
}
class CheckCache {
slopdb: SlopDB
constructor(slopdb: SlopDB) {
this.slopdb = slopdb
}
start_transaction(mode: IDBTransactionMode): IDBTransaction {
const transaction = this.slopdb.db.transaction("checkcache", mode)
return transaction
}
}