org.jetbrains.kotlinx.jupyter.api.LibraryLoader.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
import org.jetbrains.kotlinx.jupyter.api.libraries.LibrariesScanResult
/**
* Loads library definitions given the [LibrariesScanResult].
* Usually used in `loadLibraryDefinitions` or `loadLibraryProducers`
*/
interface LibraryLoader {
fun addLibrariesByScanResult(
host: KotlinKernelHost,
notebook: Notebook,
classLoader: ClassLoader,
libraryOptions: Map = mapOf(),
scanResult: LibrariesScanResult,
)
}