-
Notifications
You must be signed in to change notification settings - Fork 304
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Non-blocking background Python kernel execution (#15230)
- Loading branch information
1 parent
fc2c48b
commit 9ae4f9c
Showing
13 changed files
with
889 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT License. | ||
|
||
import { Event, NotebookCellOutput } from 'vscode'; | ||
|
||
declare module './api' { | ||
/** | ||
* Represents a Jupyter Kernel. | ||
*/ | ||
export interface Kernel { | ||
/** | ||
* Event that fires when a display_update message is sent, one that | ||
* belongs to a display output from a previous code execution call. | ||
* This allows 3rd party extensions to send messages from the kernel back to the extension host | ||
* even after the code execution has completed. | ||
* E.g. via background threads. | ||
*/ | ||
onDidRecieveDisplayUpdate: Event<NotebookCellOutput>; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.