org.jetbrains.kotlinx.jupyter.api.libraries.ExecutionHost.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kotlin-jupyter-api Show documentation
Show all versions of kotlin-jupyter-api Show documentation
API for libraries supporting Kotlin Jupyter notebooks
package org.jetbrains.kotlinx.jupyter.api.libraries
import org.jetbrains.kotlinx.jupyter.api.ExecutionCallback
import org.jetbrains.kotlinx.jupyter.api.KotlinKernelHost
/**
* Used in [ExecutionCallback] to get [KotlinKernelHost] context
*/
interface ExecutionHost {
fun execute(callback: ExecutionCallback): T
}