#85216 pull and push support in synchronisers

This commit is contained in:
Sandeep Somavarapu
2020-01-14 16:40:48 +01:00
parent 1faf9a6221
commit 7fa04ddcea
11 changed files with 401 additions and 54 deletions

View File

@@ -38,6 +38,14 @@ export class UserDataSyncService extends Disposable implements IUserDataSyncServ
});
}
pull(): Promise<void> {
return this.channel.call('pull');
}
push(): Promise<void> {
return this.channel.call('push');
}
sync(_continue?: boolean): Promise<boolean> {
return this.channel.call('sync', [_continue]);
}