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

org.jetbrains.kotlinx.jupyter.api.outputs.DisplayHandler.kt Maven / Gradle / Ivy

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

import org.jetbrains.kotlinx.jupyter.api.libraries.ExecutionHost

/**
 * The `DisplayHandler` interface defines methods for handling the display and update of values within the notebook.
 */
interface DisplayHandler {
    /**
     * Handles the display of a value
     */
    fun handleDisplay(
        value: Any,
        host: ExecutionHost,
        id: String? = null,
    )

    /**
     * Handles the update of a value
     */
    fun handleUpdate(
        value: Any,
        host: ExecutionHost,
        id: String? = null,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy