mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-10-23 09:33:20 +00:00
Adopt active Replicator ownership contracts
This commit is contained in:
1 parent
db70b4c2b6
commit
7300db08d6
18 files changed
+984
-410
No files matched your search
@@ -37,7 +37,11 @@ describe("ObsidianReplicatorService", () => {
|
||||
allowSleepDuringSynchronisationOnDesktop: false,
|
||||
}),
|
||||
},
|
||||
appLifecycleService: { onSuspending: handler(), getUnresolvedMessages: handler() },
|
||||
appLifecycleService: {
|
||||
onSuspending: handler(),
|
||||
onUnload: handler(),
|
||||
getUnresolvedMessages: handler(),
|
||||
},
|
||||
databaseEventService: {
|
||||
onResetDatabase: handler(),
|
||||
onDatabaseInitialisation: handler(),
|
||||
@@ -73,7 +77,11 @@ describe("ObsidianReplicatorService", () => {
|
||||
allowSleepDuringSynchronisationOnDesktop: true,
|
||||
}),
|
||||
},
|
||||
appLifecycleService: { onSuspending: handler(), getUnresolvedMessages: handler() },
|
||||
appLifecycleService: {
|
||||
onSuspending: handler(),
|
||||
onUnload: handler(),
|
||||
getUnresolvedMessages: handler(),
|
||||
},
|
||||
databaseEventService: {
|
||||
onResetDatabase: handler(),
|
||||
onDatabaseInitialisation: handler(),
|
||||
|
||||
Reference in new issue
Block a user