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

Function executeSilently

src/kernels/kernel.ts:1081–1094  ·  view source on GitHub ↗
(
        session: IKernelSession,
        code: string[],
        errorOptions?: SilentExecutionErrorOptions
    )

Source from the content-addressed store, hash-verified

1079 }
1080
1081 protected async executeSilently(
1082 session: IKernelSession,
1083 code: string[],
1084 errorOptions?: SilentExecutionErrorOptions
1085 ) {
1086 if (code.join('').trim().length === 0) {
1087 return;
1088 }
1089 if (!session.kernel) {
1090 logger.trace(`Not executing startup as there is no session, code: ${code}`);
1091 return;
1092 }
1093 return executeSilently(session.kernel, code.join('\n'), errorOptions);
1094 }
1095}
1096
1097export class ThirdPartyKernel extends BaseKernel implements IThirdPartyKernel {

Callers 1

Calls 3

executeSilentlyFunction · 0.90
joinMethod · 0.80
traceMethod · 0.65

Tested by

no test coverage detected