mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 10:08:49 +01:00
Use leading flag set to true in debouncing events from extension trees (#88051)
* Use leading flag set to true in debouncing events from extension trees * - remove the flag for debounce in extHostTreeView - refactor test extHostTreeView's test to test prod behavior - fix a small bug in debounce * Minor cleanup
This commit is contained in:
committed by
Alex Ross
parent
bfee2e5cdc
commit
28bf0b1f56
@@ -237,7 +237,7 @@ class ExtHostTreeView<T> extends Disposable {
|
||||
result.message = true;
|
||||
}
|
||||
return result;
|
||||
}, 200)(({ message, elements }) => {
|
||||
}, 200, true)(({ message, elements }) => {
|
||||
if (elements.length) {
|
||||
this.refreshQueue = this.refreshQueue.then(() => {
|
||||
const _promiseCallback = promiseCallback;
|
||||
|
||||
Reference in New Issue
Block a user