MCPcopy Create free account
hub / github.com/deepnote/vscode-deepnote / isRemoteConnection

Function isRemoteConnection

src/kernels/types.ts:329–333  ·  view source on GitHub ↗
(
    kernelConnection: KernelConnectionMetadata
)

Source from the content-addressed store, hash-verified

327}
328
329export function isRemoteConnection(
330 kernelConnection: KernelConnectionMetadata
331): kernelConnection is RemoteKernelConnectionMetadata {
332 return !isLocalConnection(kernelConnection);
333}
334
335export type KernelHooks =
336 | 'willRestart'

Callers 15

constructorMethod · 0.90
trackKernelMethod · 0.90
checkForIpykernel6Function · 0.90
onDidRemoveServersMethod · 0.90
executeCommandMethod · 0.90
cacheKernelInfoFunction · 0.90
getCacheKernelInfoFunction · 0.90
onKernelConnectingMethod · 0.90

Calls 1

isLocalConnectionFunction · 0.85

Tested by

no test coverage detected