src/vs/workbench/services/search/common/textSearchManager.ts/BatchedCollector/addItemToBatch
class BatchedCollector:	private addItemToBatch(item: T, size: number): void {
		this.batch.push(item);
		this.batchSize += size;
		this.onUpdate();
	}