Refactor syncer and add internal, non-concurrency limited methods

This commit is contained in:
Andras Schmelczer 2025-01-03 14:45:26 +00:00
parent c733448a02
commit 5f5bdf75ea
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
2 changed files with 220 additions and 218 deletions

View file

@ -43,12 +43,12 @@ export default class SyncPlugin extends Plugin {
const syncService = new SyncService(database);
const syncer = new Syncer({
const syncer = new Syncer(
database,
operations: this.operations,
syncService,
history: this.history,
});
this.operations,
this.history
);
const statusDescription = new StatusDescription(
database,