- execute(id, code, output, kernel, metadata?, suppressCodeExecutionErrors?, onExecutionPhaseChanged?): Promise<KernelMessage.IExecuteReplyMsg | undefined>
Parameters
- id: string
- code: string
- output: OutputArea
- kernel: Kernel
Optional
metadata: JSONObject- suppressCodeExecutionErrors: boolean = false
Optional
onExecutionPhaseChanged: ((phaseOutput) => void)- (phaseOutput): void
Returns void
Returns Promise<KernelMessage.IExecuteReplyMsg | undefined>
Execute code on an output area.