Refactor syncer and add internal, non-concurrency limited methods
This commit is contained in:
parent
c733448a02
commit
5f5bdf75ea
2 changed files with 220 additions and 218 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue