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