#85216 methods to know if synced before

This commit is contained in:
Sandeep Somavarapu
2020-01-13 08:37:02 +01:00
parent 22e4d75bd0
commit 528202e34f
9 changed files with 92 additions and 0 deletions

View File

@@ -46,6 +46,14 @@ export class UserDataSyncService extends Disposable implements IUserDataSyncServ
this.channel.call('stop');
}
hasPreviouslySynced(): Promise<boolean> {
return this.channel.call('hasPreviouslySynced');
}
hasRemote(): Promise<boolean> {
return this.channel.call('hasRemote');
}
removeExtension(identifier: IExtensionIdentifier): Promise<void> {
return this.channel.call('removeExtension', [identifier]);
}