MCPcopy Index your code
hub / github.com/deepnote/deepnote / stop

Method stop

packages/runtime-core/src/execution-engine.ts:135–144  ·  view source on GitHub ↗

* Stop the server and disconnect from the kernel.

()

Source from the content-addressed store, hash-verified

133 * Stop the server and disconnect from the kernel.
134 */
135 async stop(): Promise<void> {
136 if (this.kernel) {
137 await this.kernel.disconnect()
138 this.kernel = null
139 }
140 if (this.server) {
141 await stopServer(this.server)
142 this.server = null
143 }
144 }
145
146 /**
147 * Run a .deepnote file.

Callers 6

runDeepnoteProjectFunction · 0.95
handleRunFunction · 0.95
handleRunBlockFunction · 0.95
startMethod · 0.95
startExecutionEngineFunction · 0.80

Calls 2

stopServerFunction · 0.90
disconnectMethod · 0.80

Tested by

no test coverage detected