org.jetbrains.kotlinx.jupyter.execution.JupyterExecutor.kt Maven / Gradle / Ivy
package org.jetbrains.kotlinx.jupyter.execution
import kotlinx.coroutines.CoroutineScope
import java.io.Closeable
interface JupyterExecutor : Closeable {
fun runExecution(
name: String,
classLoader: ClassLoader? = null,
body: () -> T,
): ExecutionResult
fun interruptExecution()
fun launchJob(runnable: suspend CoroutineScope.() -> Unit)
}