src/vs/workbench/services/progress/browser/progressIndicator.ts/ProgressBarIndicator/showWhile
class ProgressBarIndicator:	async showWhile(promise: Promise<unknown>, delay?: number): Promise<void> {
		try {
			this.progressbar.infinite().show(delay);

			await promise;
		} catch (error) {
			// ignore
		} finally {
			this.progressbar.stop().hide();
		}
	}