src/vs/workbench/contrib/terminal/browser/links/terminalLinkDetectorAdapter.ts/TerminalLinkDetectorAdapter/provideLinks
class TerminalLinkDetectorAdapter:	async provideLinks(bufferLineNumber: number, callback: (links: ILink[] | undefined) => void) {
		this._activeLinks?.forEach(l => l.dispose());
		this._activeLinks = await this._provideLinks(bufferLineNumber);
		callback(this._activeLinks);
	}