src/vs/editor/browser/widget/workerBasedDocumentDiffProvider.ts/WorkerBasedDocumentDiffProvider/computeDiff
class WorkerBasedDocumentDiffProvider:	async computeDiff(original: ITextModel, modified: ITextModel, options: IDocumentDiffProviderOptions): Promise<IDocumentDiff> {
		if (typeof this.diffAlgorithm !== 'string') {
			return this.diffAlgorithm.computeDiff(original, modified, options);
		}

		const result = await this.editorWorkerService.computeDiff(original.uri, modified.uri, options, this.diffAlgorithm);
		if (!result) {
			throw new Error('no diff result available');
		}

		return result;
	}