mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-10 10:12:34 -05:00
Merge from vscode 52dcb723a39ae75bee1bd56b3312d7fcdc87aeed (#6719)
This commit is contained in:
@@ -90,13 +90,13 @@ export interface IProgress<T> {
|
||||
export class Progress<T> implements IProgress<T> {
|
||||
|
||||
private _callback: (data: T) => void;
|
||||
private _value: T;
|
||||
private _value?: T;
|
||||
|
||||
constructor(callback: (data: T) => void) {
|
||||
this._callback = callback;
|
||||
}
|
||||
|
||||
get value() {
|
||||
get value(): T | undefined {
|
||||
return this._value;
|
||||
}
|
||||
|
||||
@@ -120,7 +120,7 @@ export interface IOperation {
|
||||
export class LongRunningOperation extends Disposable {
|
||||
private currentOperationId = 0;
|
||||
private readonly currentOperationDisposables = this._register(new DisposableStore());
|
||||
private currentProgressRunner: IProgressRunner;
|
||||
private currentProgressRunner: IProgressRunner | undefined;
|
||||
private currentProgressTimeout: any;
|
||||
|
||||
constructor(
|
||||
|
||||
Reference in New Issue
Block a user