Interface NotebookKernelsMain
interface NotebookKernelsMain { $addKernel(handle,
data): Promise<void>; $addKernelDetectionTask(handle,
notebookType): Promise<void>; $addKernelSourceActionProvider(handle,
eventHandle,
notebookType): Promise<void>; $beginNotebookExecution(handle): void; $completeExecution(handle,
data): void; $completeNotebookExecution(handle): void; $createExecution(handle,
controllerId,
uri,
cellHandle): void; $createNotebookExecution(handle,
controllerId,
uri): void; $emitNotebookKernelSourceActionsChangeEvent(eventHandle): void; $postMessage(handle,
editorId,
message): Promise<boolean>; $removeKernel(handle): void; $removeKernelDetectionTask(handle): void; $removeKernelSourceActionProvider(handle,
eventHandle): void; $updateExecution(handle,
data): void; $updateKernel(handle,
data): void; $updateNotebookPriority(handle,
uri,
value): void; } Methods
$addKernel
- $addKernel(handle, data): Promise<void>
Returns Promise<void>
$addKernelDetectionTask
- $addKernelDetectionTask(handle, notebookType): Promise<void>
Parameters
- handle: number
- notebookType: string
Returns Promise<void>
$addKernelSourceActionProvider
- $addKernelSourceActionProvider(handle, eventHandle, notebookType): Promise<void>
Parameters
- handle: number
- eventHandle: number
- notebookType: string
Returns Promise<void>
$beginNotebookExecution
- $beginNotebookExecution(handle): void
Returns void
$completeExecution
- $completeExecution(handle, data): void
Returns void
$completeNotebookExecution
- $completeNotebookExecution(handle): void
Returns void
$createExecution
- $createExecution(handle, controllerId, uri, cellHandle): void
Parameters
- handle: number
- controllerId: string
- uri: UriComponents
- cellHandle: number
Returns void
$createNotebookExecution
- $createNotebookExecution(handle, controllerId, uri): void
Parameters
- handle: number
- controllerId: string
- uri: UriComponents
Returns void
$emitNotebookKernelSourceActionsChangeEvent
- $emitNotebookKernelSourceActionsChangeEvent(eventHandle): void
Returns void
$postMessage
- $postMessage(handle, editorId, message): Promise<boolean>
Parameters
- handle: number
- editorId: undefined | string
- message: any
Returns Promise<boolean>
$removeKernel
- $removeKernel(handle): void
Returns void
$removeKernelDetectionTask
- $removeKernelDetectionTask(handle): void
Returns void
$removeKernelSourceActionProvider
- $removeKernelSourceActionProvider(handle, eventHandle): void
Parameters
- handle: number
- eventHandle: number
Returns void
$updateExecution
- $updateExecution(handle, data): void
Returns void
$updateKernel
- $updateKernel(handle, data): void
Returns void
$updateNotebookPriority
- $updateNotebookPriority(handle, uri, value): void
Parameters
- handle: number
- uri: UriComponents
- value: undefined | number
Returns void