src/vs/base/browser/ui/tree/abstractTree.ts/EventCollection/constructor
class EventCollection:	constructor(onDidChange: Event<T[]>, private _elements: T[] = []) {
		this.onDidChange = Event.forEach(onDidChange, elements => this._elements = elements, this.disposables);
	}