src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.ts/Renderer/renderOutputItem
class Renderer:		public async renderOutputItem(item: rendererApi.OutputItem, element: HTMLElement, signal: AbortSignal): Promise<void> {
			try {
				await this.load();
			} catch (e) {
				if (!signal.aborted) {
					showRenderError(`Error loading renderer '${this.data.id}'`, element, e instanceof Error ? [e] : []);
				}
				return;
			}

			if (!this._api) {
				if (!signal.aborted) {
					showRenderError(`Renderer '${this.data.id}' does not implement renderOutputItem`, element, []);
				}
				return;
			}

			try {
				const renderStart = performance.now();
				await this._api.renderOutputItem(item, element, signal);
				this.postDebugMessage('Rendered output item', { id: item.id, duration: `${performance.now() - renderStart}ms` });

			} catch (e) {
				if (!signal.aborted) {
					showRenderError(`Error rendering output item using '${this.data.id}'`, element, e instanceof Error ? [e] : []);

					this.postDebugMessage('Rendering output item failed', { id: item.id, error: e + '' });
				}
			}
		}