mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 18:49:00 +01:00
progress - fix debouncer initial value
This commit is contained in:
@@ -83,7 +83,7 @@ class ProgressCallback extends Progress<IProgressStep> {
|
||||
super(p => this.throttledReport(p));
|
||||
}
|
||||
|
||||
@debounce(100, (result: IProgressStep, currentValue: IProgressStep) => mergeProgress(result, currentValue), Object.create(null))
|
||||
@debounce(100, (result: IProgressStep, currentValue: IProgressStep) => mergeProgress(result, currentValue), () => Object.create(null))
|
||||
throttledReport(p: IProgressStep): void {
|
||||
this._proxy.$progressReport(this._handle, p);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user