Interface NotebookKernelsExt
interface NotebookKernelsExt { $acceptKernelMessageFromRenderer(handle,
editorId,
message): void; $acceptNotebookAssociation(handle,
uri,
value): void; $cancelCells(handle,
uri,
handles): Promise<void>; $cellExecutionChanged(uri,
cellHandle,
state): void; $executeCells(handle,
uri,
handles): Promise<void>; $provideKernelSourceActions(handle,
token): Promise<NotebookKernelSourceActionDto[]>; } Methods
$acceptKernelMessageFromRenderer
- $acceptKernelMessageFromRenderer(handle, editorId, message): void
Parameters
- handle: number
- editorId: string
- message: any
Returns void
$acceptNotebookAssociation
- $acceptNotebookAssociation(handle, uri, value): void
Parameters
- handle: number
- uri: UriComponents
- value: boolean
Returns void
$cancelCells
- $cancelCells(handle, uri, handles): Promise<void>
Parameters
- handle: number
- uri: UriComponents
- handles: number[]
Returns Promise<void>
$cellExecutionChanged
- $cellExecutionChanged(uri, cellHandle, state): void
Parameters
- uri: UriComponents
- cellHandle: number
- state: undefined | NotebookCellExecutionState
Returns void
$executeCells
- $executeCells(handle, uri, handles): Promise<void>
Parameters
- handle: number
- uri: UriComponents
- handles: number[]
Returns Promise<void>
$provideKernelSourceActions