Trait/Object

polynote.kernel

Kernel

Related Docs: object Kernel | package kernel

Permalink

trait Kernel extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Kernel
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def awaitClosed: Task[Unit]

    Permalink

    returns

    A task which will wait for the kernel to be closed. Completes with an error if the kernel closes due to error.

  2. abstract def completionsAt(id: CellID, pos: Int): TaskC[List[Completion]]

    Permalink

    Provide completions for the given position in the given cell

  3. abstract def getHandleData(handleType: HandleType, handle: Int, count: Int): RIO[BaseEnv with StreamingHandles, Array[ByteVector32]]

    Permalink

    returns

    An array of up to count scodec.bits.ByteVector elements, in which each element represents one encoded element from the given handle of the given type

  4. abstract def init(): TaskC[Unit]

    Permalink

    Perform any initialization for the kernel

  5. abstract def modifyStream(handleId: Int, ops: List[TableOp]): RIO[BaseEnv with StreamingHandles, Option[StreamingDataRepr]]

    Permalink

    Create a new StreamingDataRepr handle by performing TableOp operations on the given streaming handle.

    Create a new StreamingDataRepr handle by performing TableOp operations on the given streaming handle. The given handle itself must be unaffected.

    returns

    If the operations make no changes, returns the given handle. If the operations are valid for the stream, and it supports the modification, returns a new handle for the modified stream. If the stream doesn't support modification, returns None. If the modifications are invalid or unsupported by the the stream, it may either raise an error or return None.

  6. abstract def parametersAt(id: CellID, pos: Int): TaskC[Option[Signatures]]

    Permalink

    Provide parameter hints for the given position in the given cell

  7. abstract def queueCell(id: CellID): TaskC[Task[Unit]]

    Permalink

    Enqueues a cell to be run with its appropriate interpreter.

    Enqueues a cell to be run with its appropriate interpreter. Evaluating the outer task causes the cell to be queued, and evaluating the inner task blocks until it is finished evaluating.

  8. abstract def releaseHandle(handleType: HandleType, handleId: Int): RIO[BaseEnv with StreamingHandles, Unit]

    Permalink

    Release a handle.

    Release a handle. No further data will be available using getHandleData().

  9. abstract def shutdown(): TaskB[Unit]

    Permalink

    Shut down this kernel and its interpreters, releasing their resources and ending any internally managed tasks or processes

  10. abstract def status(): TaskB[KernelBusyState]

    Permalink

    Provide the current busy status of the kernel

  11. abstract def values(): TaskB[List[ResultValue]]

    Permalink

    Provide all values that currently are known by the kernel

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def cancelAll(): RIO[BaseEnv with TaskManager, Unit]

    Permalink
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  12. def info(): TaskG[KernelInfo]

    Permalink

    Provide free-form key/value HTML information about the kernel

  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  18. def tasks(): RIO[BaseEnv with TaskManager, List[TaskInfo]]

    Permalink
  19. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped