All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jetbrains.kotlinx.jupyter.api.ExtensionsProcessor.kt Maven / Gradle / Ivy

There is a newer version: 0.12.0-335
Show newest version
package org.jetbrains.kotlinx.jupyter.api

interface ExtensionsProcessor {
    fun register(extension: T) = register(extension, ProcessingPriority.DEFAULT)

    fun register(
        extension: T,
        priority: Int,
    )

    fun registerAll(extensions: Iterable) {
        for (execution in extensions) {
            register(execution)
        }
    }

    fun unregister(extension: T)

    fun unregisterAll()

    fun registeredExtensions(): Collection

    fun registeredExtensionsWithPriority(): List>
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy