mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 19:18:59 +01:00
declare cancellation support for openNotebook and wire it up, exempt notebook content provider from provider naming rules
This commit is contained in:
@@ -403,8 +403,8 @@ export class MainThreadNotebooks implements MainThreadNotebookShape {
|
||||
contentOptions.transientOutputs = newOptions.transientOutputs;
|
||||
},
|
||||
viewOptions: options.viewOptions,
|
||||
openNotebook: async (viewType: string, uri: URI, backupId?: string) => {
|
||||
const data = await this._proxy.$openNotebook(viewType, uri, backupId);
|
||||
openNotebook: async (viewType: string, uri: URI, backupId: string | undefined, token: CancellationToken) => {
|
||||
const data = await this._proxy.$openNotebook(viewType, uri, backupId, token);
|
||||
return {
|
||||
data,
|
||||
transientOptions: contentOptions
|
||||
|
||||
Reference in New Issue
Block a user