mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 11:38:51 +01:00
initialize statu
This commit is contained in:
@@ -31,7 +31,10 @@ export class UserDataSyncService extends Disposable implements IUserDataSyncServ
|
||||
) {
|
||||
super();
|
||||
this.channel = sharedProcessService.getChannel('userDataSync');
|
||||
this._register(this.channel.listen<SyncStatus>('onDidChangeStatus')(status => this.updateStatus(status)));
|
||||
this.channel.call<SyncStatus>('_getInitialStatus').then(status => {
|
||||
this.updateStatus(status);
|
||||
this._register(this.channel.listen<SyncStatus>('onDidChangeStatus')(status => this.updateStatus(status)));
|
||||
});
|
||||
}
|
||||
|
||||
sync(_continue?: boolean): Promise<boolean> {
|
||||
|
||||
Reference in New Issue
Block a user