src/vs/base/common/event.ts/EventMultiplexer/hook
class EventMultiplexer:	private hook(e: { event: Event<T>; listener: IDisposable | null; }): void {
		e.listener = e.event(r => this.emitter.fire(r));
	}