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