eval

abstract fun <T> eval(execution: ExecutionCallback<T>): T

Execute line magics or code in the context of the org.jetbrains.kotlinx.jupyter.api.KotlinKernelHost. Can be used to modify the state of the kernel before or after evaluating user cells.