src/vs/workbench/services/search/common/textSearchManager.ts/TextSearchResultsCollector/constructor
class TextSearchResultsCollector:	constructor(private _onResult: (result: IFileMatch[]) => void) {
		this._batchedCollector = new BatchedCollector<IFileMatch>(512, items => this.sendItems(items));
	}