Class

polynote.kernel.NotebookRef

Const

Related Doc: package NotebookRef

Permalink

final class Const extends NotebookRef

A NotebookRef which ignores all changes

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Const
  2. NotebookRef
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Const(notebook: Notebook)

    Permalink

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. def addResult(cellID: CellID, result: Result): UIO[Unit]

    Permalink

    Append a Result to the given cell of the notebook

    Append a Result to the given cell of the notebook

    Definition Classes
    ConstNotebookRef
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def awaitClosed: Task[Unit]

    Permalink

    Wait for the ref to be closed.

    Wait for the ref to be closed. Succeeds with Unit if the ref closes normally; fails with error otherwise

    Definition Classes
    ConstNotebookRef
  7. def clearAllResults(): UIO[List[CellID]]

    Permalink

    Clear results from all cells of the notebook, and return a list of CellIDs whose results were modified

    Clear results from all cells of the notebook, and return a list of CellIDs whose results were modified

    Definition Classes
    ConstNotebookRef
  8. def clearResults(cellID: CellID): UIO[Unit]

    Permalink

    Clear results from the given cell of the notebook

    Clear results from the given cell of the notebook

    Definition Classes
    ConstNotebookRef
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def close(): UIO[Unit]

    Permalink

    Close the notebook.

    Close the notebook.

    Definition Classes
    ConstNotebookRef
  11. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def get: UIO[Notebook]

    Permalink

    Return the latest notebook

    Return the latest notebook

    Definition Classes
    NotebookRef
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def getVersioned: UIO[(Int, Notebook)]

    Permalink

    Return the latest version and notebook

    Return the latest version and notebook

    Definition Classes
    ConstNotebookRef
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. val isOpen: UIO[Boolean]

    Permalink
    Definition Classes
    ConstNotebookRef
  20. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  23. def path: UIO[String]

    Permalink
    Definition Classes
    NotebookRef
  24. def rename(newPath: String): UIO[String]

    Permalink
    Definition Classes
    ConstNotebookRef
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  27. def update(update: NotebookUpdate): UIO[Unit]

    Permalink

    Apply a notebook update.

    Apply a notebook update. If this NotebookRef is responsible for versioning, the version is incremented. The update may not be applied immediately; use updateAndGet to block until the update has been applied.

    Definition Classes
    ConstNotebookRef
  28. def updateAndGet(update: NotebookUpdate): UIO[(Int, Notebook)]

    Permalink

    Apply a notebook update and return the new version and notebook.

    Apply a notebook update and return the new version and notebook. If this NotebookRef is responsible for versioning, the version is incremented.

    Definition Classes
    ConstNotebookRef
  29. def updates: ZStream[Any, Nothing, NotebookUpdate]

    Permalink

    Get a stream of notebook updates

    Get a stream of notebook updates

    Definition Classes
    ConstNotebookRef
  30. final def wait(): Unit

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

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

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

Inherited from NotebookRef

Inherited from AnyRef

Inherited from Any

Ungrouped