Package 

Interface KotlinKernelHost


  • 
    public interface KotlinKernelHost
    
                        

    Interface representing kernel engine, the core facility for compiling and executing code snippets

    • Method Summary

      Modifier and Type Method Description
      abstract Unit display(Object value) Try to display the given value.
      abstract Unit updateDisplay(Object value, String id) Updates display data with given id with the new value
      abstract Unit scheduleExecution(Function1<KotlinKernelHost, ?> execution) Schedules execution of the given execution after the completing of execution of the current cell
      Unit scheduleExecution(String execution)
      abstract FieldValue execute(String code) Executes code immediately.
      abstract Unit addLibrary(LibraryDefinition library) Adds a new library via its definition.
      • Methods inherited from class org.jetbrains.kotlinx.jupyter.api.KotlinKernelHost

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait