add and adopt implementsExecutionOrder

This commit is contained in:
Johannes Rieken
2021-04-09 13:03:49 +02:00
parent 4cacb3dce4
commit edd36fd64c
7 changed files with 10 additions and 6 deletions

View File

@@ -172,6 +172,7 @@ export class MainThreadNotebooks implements MainThreadNotebookShape {
preloads: dto.preloads?.map(u => URI.revive(u)),
supportedLanguages: dto.supportedLanguages,
implementsInterrupt: dto.implementsInterrupt,
implementsExecutionOrder: true, // todo@jrieken this is temporary and for the OLD API only
resolve: (uri: URI, editorId: string, token: CancellationToken): Promise<void> => {
this._logService.debug('MainthreadNotebooks.resolveNotebookKernel', uri.path, dto.friendlyId);
return this._proxy.$resolveNotebookKernel(handle, editorId, uri, dto.friendlyId, token);