(
session: IKernelSession,
code: string[],
errorOptions?: SilentExecutionErrorOptions
)
| 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 | |
| 1097 | export class ThirdPartyKernel extends BaseKernel implements IThirdPartyKernel { |
no test coverage detected